Errors are silenced


#1

Hi why does exceptions get silenced? https://paste.ofcode.org/qWqU4K6A3iEiDh4MLv9brU

I’m expecting:
NameError: name ‘non_existent_var’ is not defined

But that’ does not appear in the console or anywhere I just get ‘Server errror’.


#2

Use debug=True in development.

(In production you’d want to turn that off and instead have some proper error monitoring such as sentry, but ensure that end-users just see 500 Server Error)