diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 6c9d291..c7b8418 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -75,6 +75,7 @@ public function boot(): void ->accept('application/vnd.github.v3+json') ->withUserAgent(config('app.name').' '.config('app.url')) ->withOptions(['http_errors' => true]) + ->throw() ->withMiddleware(function (callable $handler): Closure { return function (RequestInterface $request, array $options) use ($handler): PromiseInterface { $promise = $handler($request, $options);