Skip to content

Commit 55c9ee6

Browse files
committed
Merge branch 'master' of github.com:connorabbas/laravel-primevue-starter-kit into admin-role-dev
2 parents aa9d389 + ae84ddb commit 55c9ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
->setStatusCode($statusCode);
6969
} else {
7070
// Show standard modal for easier debugging locally
71-
if (app()->isLocal() && $statusCode === 500) {
71+
if (app()->hasDebugModeEnabled() && $statusCode === 500) {
7272
return $response;
7373
}
7474
// Return JSON response for PrimeVue toast to display, handled by Inertia router event listener

0 commit comments

Comments
 (0)