use Throwable instead of Exception (#779)

This commit is contained in:
leo108
2019-03-27 05:56:31 +01:00
committed by Barry vd. Heuvel
parent 39c148ad42
commit 9ef14f83be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class MetaCommand extends Command
if (is_object($concrete)) {
$bindings[$abstract] = get_class($concrete);
}
} catch (\Exception $e) {
} catch (\Throwable $e) {
if ($this->output->getVerbosity() >= OutputInterface::VERBOSITY_VERBOSE) {
$this->comment("Cannot make '$abstract': ".$e->getMessage());
}