Add custom HTTP-500 error page

This commit is contained in:
Pig Fang 2018-07-22 16:16:29 +08:00
parent e2703aad84
commit d16483bacb
3 changed files with 13 additions and 0 deletions

View File

@ -1,6 +1,7 @@
http:
msg-403: You have no permission to access this page.
msg-404: Nothing here.
msg-500: Please try again later.
msg-503: The application is now in maintenance mode.
general:

View File

@ -1,6 +1,7 @@
http:
msg-403: 你并没有权限查看此页面
msg-404: 这里啥都没有哦
msg-500: 服务器内部错误,请稍后再试
msg-503: 网站维护中
general:

View File

@ -0,0 +1,11 @@
@extends('errors.general')
@section('title', '500 Internal Server Error')
@section('content')
<h1>500 Internal Server Error
@include('setup.wizard.language')
</h1>
<p>{{ trans('errors.exception.detail', ['msg' => $exception->getMessage() ?: trans('errors.http.msg-500')]) }}</p>
@endsection