This commit is contained in:
2024-04-24 14:17:09 +08:00
parent 361acc09f2
commit 4cbd1fb500
2 changed files with 36 additions and 6 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ class OnRequest implements OnRequestInterface
public DataGrip $dataGrip)
{
$this->responseEmitter = $this->response->emmit;
$exception = \config('request.exception');
$exception = \config('exception.http');
if (!in_array(ExceptionHandlerInterface::class, class_implements($exception))) {
$exception = ExceptionHandlerDispatcher::class;
}