File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/internal/Magento/Framework/App Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ public function run(AppInterface $application)
267
267
throw $ e ;
268
268
}
269
269
}
270
- } catch (\Exception $ e ) {
270
+ } catch (\Throwable $ e ) {
271
271
$ this ->terminate ($ e );
272
272
}
273
273
} // phpcs:enable
@@ -418,12 +418,12 @@ public function isDeveloperMode()
418
418
/**
419
419
* Display an exception and terminate program execution
420
420
*
421
- * @param \Exception $e
421
+ * @param \Throwable $e
422
422
* @return void
423
423
*
424
424
* phpcs:disable Magento2.Security.LanguageConstruct, Squiz.Commenting.FunctionCommentThrowTag
425
425
*/
426
- protected function terminate (\Exception $ e )
426
+ protected function terminate (\Throwable $ e )
427
427
{
428
428
429
429
if ($ this ->isDeveloperMode ()) {
You can’t perform that action at this time.
0 commit comments