diff --git a/src/Runtime/Exceptions/ExceptionHandler.php b/src/Runtime/Exceptions/ExceptionHandler.php index de20c01..a14528e 100644 --- a/src/Runtime/Exceptions/ExceptionHandler.php +++ b/src/Runtime/Exceptions/ExceptionHandler.php @@ -24,7 +24,7 @@ class ExceptionHandler { public static function make($abstract = null, $message = null) { if(is_string($abstract)) { - $abstract = new $abstract($message); + $abstract = app()->make($abstract, $message); } if(is_subclass_of($abstract, 'Exception')) {