I just noticed that when 500 errors happen for any reason ( “A server error occurred, etc.”) there are no records of this event shown in the app log, if Debug mode disabled.
I actually don’t remember if it was always like this.
How is it actually supposed to be?
When debug is off you will se only a 500 error but no details about it. This is because it can
show sensitive information to people with bad intensions. So in production always turn debug off.