Skip to content

Commit

Permalink
Error handler default error message on production
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSkierniewski committed Nov 8, 2015
1 parent f4aa100 commit 7b1ada2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function render($request, Exception $e)
[
'code' => self::SERVER_ERROR,
'error' => [
'message' => $e->getMessage(),
'message' => ($e->getMessage()) ? $e->getMessage() : 'Internal Server Error',
]
],
self::SERVER_ERROR
Expand Down

0 comments on commit 7b1ada2

Please sign in to comment.