mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 06:08:46 -04:00
Merge pull request #53657 from nextcloud/chore/debug-output
fix(files): add more debug output to the filename sanitizing command
This commit is contained in:
commit
bed94cc31e
1 changed files with 2 additions and 1 deletions
|
|
@ -137,8 +137,9 @@ class SanitizeFilenames extends Base {
|
|||
$this->output->writeln('<comment>skipping: ' . $node->getPath() . ' (file is locked)</>');
|
||||
} catch (NotPermittedException) {
|
||||
$this->output->writeln('<comment>skipping: ' . $node->getPath() . ' (no permissions)</>');
|
||||
} catch (Exception) {
|
||||
} catch (Exception $error) {
|
||||
$this->output->writeln('<error>failed: ' . $node->getPath() . '</>');
|
||||
$this->output->writeln('<error>' . $error->getMessage() . '</>', OutputInterface::OUTPUT_NORMAL | OutputInterface::VERBOSITY_VERBOSE);
|
||||
}
|
||||
|
||||
if ($node instanceof Folder) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue