You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a problem though.
if an error is caught like so:
catch ( QueryException $e) {
$mssg = "An account with these details already exists";
return response()->json(["error_list" => compact('mssg')]);
}
the sql key inside debug is blank.
any way to fix this ?
The text was updated successfully, but these errors were encountered:
I'm having almost the same issue, but in my case I don't catch the error, I throw exceptions and want the code to strop there, so I don't need to return this exception, but the debug obj don't return with the exception
$json_response = response()->json($response, $this->getStatusCode(), $headers);
throw new HttpResponseException($json_response);
First of all, great package, thanks !
I noticed a problem though.
if an error is caught like so:
catch ( QueryException $e) {
$mssg = "An account with these details already exists";
return response()->json(["error_list" => compact('mssg')]);
}
the sql key inside debug is blank.
any way to fix this ?
The text was updated successfully, but these errors were encountered: