mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixed typo
This commit is contained in:
parent
14c0c314aa
commit
021e723acf
|
@ -80,7 +80,7 @@ class Handler extends ExceptionHandler
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Try to parse 500 Errors ina bit nicer way when debug is enabled.
|
// Try to parse 500 Errors in a bit nicer way when debug is enabled.
|
||||||
if (config('app.debug')) {
|
if (config('app.debug')) {
|
||||||
return response()->json(Helper::formatStandardApiResponse('error', null, "An Error has occured! " . $e->getMessage()), 500);
|
return response()->json(Helper::formatStandardApiResponse('error', null, "An Error has occured! " . $e->getMessage()), 500);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue