Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Fix 500 error message
Browse files Browse the repository at this point in the history
  • Loading branch information
miyacorata committed May 8, 2020
1 parent 0072bf1 commit f677d31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/errors/error.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
$code = $exception->getStatusCode();
$desc = $status_desc[$code] ?? 'Error '.$code;
$message = $exception->getMessage() ?: $status_message[$code] ?? 'A serious error has occurred. Please contact to administrator with error code.';
if($code === 500) $message = $status_message[500];
}
@endphp

Expand Down

0 comments on commit f677d31

Please # to comment.