Closed J3173 closed 8 years ago
It is good practise to not produce detailed error messages in production environments, when DEBUG is off.
This pull request will only put the stacktrace into the OtherError if DEBUG is enabled.
See also the Django documentation on the DEBUG setting.
It is good practise to not produce detailed error messages in production environments, when DEBUG is off.
This pull request will only put the stacktrace into the OtherError if DEBUG is enabled.
See also the Django documentation on the DEBUG setting.