We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67704f1 commit a137b26Copy full SHA for a137b26
resources/views/errors/404.blade.php
@@ -1,5 +1,10 @@
1
@extends('errors.minimal')
2
3
-@section('title', $messageContext ?? __('Not Found'))
+@section('title', __('Not Found'))
4
@section('code', '404')
5
-@section('message', $messageContext ?? __('Not Found'))
+
6
+@if ($exception)
7
+ @section('message', $exception->getMessage())
8
+@else
9
+ @section('message', __('Not Found'))
10
+@endif
0 commit comments