File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/resources/views/ui/errors Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99@endsection
1010
1111@section (' description' )
12- {!! $exception ?-> getMessage () ? e ($exception -> getMessage ()) : trans (' backpack::base.error_page.message_4xx' , [
12+ {!! $exception ?-> getMessage () && config ( ' app.debug ' ) ? e ($exception -> getMessage ()) : trans (' backpack::base.error_page.message_4xx' , [
1313 ' href_back' => ' href="javascript:history.back()"' ,
1414 ' href_homepage' => ' href="' . url (' ' ). ' "' ,
1515 ]) ! !}
Original file line number Diff line number Diff line change 99@endsection
1010
1111@section (' description' )
12- {!! $exception ?-> getMessage () ? e ($exception -> getMessage ()) : trans (' backpack::base.error_page.message_500' ) ! !}
12+ {!! $exception ?-> getMessage () && config ( ' app.debug ' ) ? e ($exception -> getMessage ()) : trans (' backpack::base.error_page.message_500' ) ! !}
1313@endsection
Original file line number Diff line number Diff line change 99@endsection
1010
1111@section (' description' )
12- {!! $exception ?-> getMessage () ? e ($exception -> getMessage ()) : trans (' backpack::base.error_page.message_503' ) ! !}
12+ {!! $exception ?-> getMessage () && config ( ' app.debug ' ) ? e ($exception -> getMessage ()) : trans (' backpack::base.error_page.message_503' ) ! !}
1313@endsection
You can’t perform that action at this time.
0 commit comments