mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -58,7 +58,7 @@ class Handler extends ExceptionHandler
|
|||||||
protected function convertExceptionToArray(Exception $e)
|
protected function convertExceptionToArray(Exception $e)
|
||||||
{
|
{
|
||||||
// override the non-debug error output to clue in user on how to debug
|
// override the non-debug error output to clue in user on how to debug
|
||||||
if (config('app.debug') && !$this->isHttpException($e)) {
|
if (!config('app.debug') && !$this->isHttpException($e)) {
|
||||||
return ['message' => 'Server Error: Set APP_DEBUG=true to see details.'];
|
return ['message' => 'Server Error: Set APP_DEBUG=true to see details.'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user