Catch \Throwable

This commit is contained in:
Filip Procházka 2016-05-12 17:11:08 +02:00
parent e9ea57f6c7
commit de671f4cb2

View File

@ -44,8 +44,8 @@ class AutowirePass implements CompilerPassInterface
$this->completeDefinition($id, $definition); $this->completeDefinition($id, $definition);
} }
} }
} catch (\Error $e) {
} catch (\Exception $e) { } catch (\Exception $e) {
} catch (\Throwable $e) {
} }
spl_autoload_unregister($throwingAutoloader); spl_autoload_unregister($throwingAutoloader);