Is backpack meant to show error messages on 500 pages? #303
-
Hi everyone, When an error in the code occurs, Laravel Backpack displays an error 500 screen. Lately, I've been seeing detailed PHP stack traces on this screen, even though Is this meant to happen? Is there a way to turn this off as it currently shows detailed errors on my client's demo. Cheers. |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 4 replies
-
The default error screens for Backpack do include one line with the error message, but never entire stack traces. That's probably powered by Whoops or Flare, depending on your Laravel version. So it's a Laravel-thing, not a Backpack-thing. Maybe your .env or config variables are cached and Laravel picks up APP_DEBUG as
|
Beta Was this translation helpful? Give feedback.
The default error screens for Backpack do include one line with the error message, but never entire stack traces. That's probably powered by Whoops or Flare, depending on your Laravel version. So it's a Laravel-thing, not a Backpack-thing.
Maybe your .env or config variables are cached and Laravel picks up APP_DEBUG as
true
?