Spaces:
Sleeping
Sleeping
Commit
•
ba9c430
1
Parent(s):
ef2dc06
log exception
Browse files- src/backend.py +1 -0
src/backend.py
CHANGED
@@ -196,6 +196,7 @@ def backend_routine():
|
|
196 |
_backend_routine()
|
197 |
except Exception as e:
|
198 |
logger.error(f"{e.__class__.__name__}: {str(e)}")
|
|
|
199 |
|
200 |
|
201 |
if __name__ == "__main__":
|
|
|
196 |
_backend_routine()
|
197 |
except Exception as e:
|
198 |
logger.error(f"{e.__class__.__name__}: {str(e)}")
|
199 |
+
logger.exception(e)
|
200 |
|
201 |
|
202 |
if __name__ == "__main__":
|