We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ab573f + dffc741 commit bed94ccCopy full SHA for bed94cc
apps/files/lib/Command/SanitizeFilenames.php
@@ -137,8 +137,9 @@ private function sanitizeFiles(Folder $folder): void {
137
$this->output->writeln('<comment>skipping: ' . $node->getPath() . ' (file is locked)</>');
138
} catch (NotPermittedException) {
139
$this->output->writeln('<comment>skipping: ' . $node->getPath() . ' (no permissions)</>');
140
- } catch (Exception) {
+ } catch (Exception $error) {
141
$this->output->writeln('<error>failed: ' . $node->getPath() . '</>');
142
+ $this->output->writeln('<error>' . $error->getMessage() . '</>', OutputInterface::OUTPUT_NORMAL | OutputInterface::VERBOSITY_VERBOSE);
143
}
144
145
if ($node instanceof Folder) {
0 commit comments