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 19451ec commit 90d500bCopy full SHA for 90d500b
bootstrap/app.php
@@ -63,7 +63,7 @@
63
->setStatusCode($statusCode);
64
} else {
65
// Show standard modal for easier debugging locally
66
- if (app()->isLocal() && $statusCode === 500) {
+ if (app()->hasDebugModeEnabled() && $statusCode === 500) {
67
return $response;
68
}
69
// Return JSON response for PrimeVue toast to display, handled by Inertia router event listener
0 commit comments