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.
2 parents aa9d389 + ae84ddb commit 55c9ee6Copy full SHA for 55c9ee6
bootstrap/app.php
@@ -68,7 +68,7 @@
68
->setStatusCode($statusCode);
69
} else {
70
// Show standard modal for easier debugging locally
71
- if (app()->isLocal() && $statusCode === 500) {
+ if (app()->hasDebugModeEnabled() && $statusCode === 500) {
72
return $response;
73
}
74
// Return JSON response for PrimeVue toast to display, handled by Inertia router event listener
0 commit comments