Skip to content

Commit 5bc1334

Browse files
committed
adds error message to 500 controller
1 parent 2fced39 commit 5bc1334

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Mvc/Controllers/HttpCodes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public function code500( Request $request ) : string
2929
$request->getRouteParameters(),
3030
[
3131
"title" => "Internal Server Error",
32+
"error" => $request->getRouteParameter( "error" )
3233
]
3334
),
3435
'500'

0 commit comments

Comments
 (0)