Closed bobo-le closed 3 years ago
Did a bit of testing. The issue comes from the fact that the exception is empty.
This wont work
public function me(Request $request)
{
throw new Exception();
return new UserResource($request->user());
}
While this will
public function me(Request $request)
{
throw new Exception('Some error message');
return new UserResource($request->user());
}
Thank you.
Hey, I haven't received any exceptions for a few days. I tested with the following exception:
Inside the report function in Client.php, a Guzzle-Request-Exception is thrown with the following message:
The login and project-id is set correctly, as well the user and exception parameters.
Tested with version 2.3.1