[FrameworkBundle] Silence "Failed to remove directory" on cache:clear
This commit is contained in:
parent
c572e6c570
commit
3ba624af9f
@ -156,8 +156,10 @@ EOF
|
||||
try {
|
||||
$fs->remove($oldCacheDir);
|
||||
} catch (IOException $e) {
|
||||
if ($output->isVerbose()) {
|
||||
$io->warning($e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
if ($output->isVerbose()) {
|
||||
$io->comment('Finished');
|
||||
|
Reference in New Issue
Block a user