diff --git a/resources/views/errors/403.tpl b/resources/views/errors/403.tpl index 0bd8fba8..c45a9a31 100644 --- a/resources/views/errors/403.tpl +++ b/resources/views/errors/403.tpl @@ -5,5 +5,5 @@ @section('content')
详细信息:{{ $message }}
+详细信息:{{ $exception->getMessage() ?: "你并没有权限查看此页面" }}
@endsection diff --git a/resources/views/errors/404.tpl b/resources/views/errors/404.tpl index c2be6bae..31db1998 100644 --- a/resources/views/errors/404.tpl +++ b/resources/views/errors/404.tpl @@ -5,5 +5,5 @@ @section('content')详细信息:{{ $message or "这里啥都没有哦" }}
+详细信息:{{ $exception->getMessage() ?: "这里啥都没有哦" }}
@endsection diff --git a/resources/views/errors/503.tpl b/resources/views/errors/503.tpl index 0871b066..bc6b1f8f 100644 --- a/resources/views/errors/503.tpl +++ b/resources/views/errors/503.tpl @@ -5,5 +5,5 @@ @section('content')详细信息:{{ $message or "Application is now in maintenance mode." }}
+详细信息:{{ $exception->getMessage() ?: "Application is now in maintenance mode." }}
@endsection