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 19451ec + 90d500b commit ae84ddbCopy full SHA for ae84ddb
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