We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 721f53b commit f38e69bCopy full SHA for f38e69b
bc_obps/service/error_service/handle_exception.py
@@ -48,7 +48,7 @@ class ExceptionHandler:
48
@staticmethod
49
def debug_log_exception() -> None:
50
"""Log exception traceback in debug mode."""
51
- if settings.DEBUG != "True":
+ if not settings.DEBUG:
52
return
53
print("-" * 48 + "ERROR START" + "-" * 48)
54
print(traceback.format_exc())
0 commit comments