File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -261,12 +261,12 @@ public function generateBasicErrorResponse(
261261 $ errorMessage = "The server could not find the requested resource. " ;
262262
263263 if (!$ this ->config ->getBool ("app.production " )) {
264- $ detail .= " Additionally, there was no error page found in your application at $ errorPageDir/ $ errorStatusCode.html " ;
264+ $ detail .= " Additionally, there was no error page found in your application at <strong> $ errorPageDir/ $ errorStatusCode.html</strong> " ;
265265 }
266266 }
267267 }
268268
269- if (!$ this ->config ->getBool ("app.production " )) {
269+ if ($ errorStatusCode >= 500 && !$ this ->config ->getBool ("app.production " )) {
270270 $ detail .= implode (": " , [
271271 $ actualThrowable ->getFile (),
272272 $ actualThrowable ->getLine (),
You can’t perform that action at this time.
0 commit comments