Skip to content

Commit

Permalink
Extension: Trigger error can fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Jun 23, 2021
1 parent f96eb44 commit 9cf787e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/PluginComponentExtension.php
Expand Up @@ -212,7 +212,11 @@ private function createPluginServices(ContainerBuilder $builder): array
}
} catch (\Throwable $e) {
Debugger::log($e, ILogger::WARNING);
trigger_error('Class "' . $class . '" is broken: ' . $e->getMessage());
try {
trigger_error('Class "' . $class . '" is broken: ' . $e->getMessage());
} catch (\Throwable) {
// Silence is golden.
}
continue;
}
try {
Expand Down

0 comments on commit 9cf787e

Please sign in to comment.