Print exception name in listener trace
MODIFY
plextraktsync/listener.py
plextraktsync/listener.py
@@ -39,7 +39,7 @@ def dispatch(self, event):
try:
listener["listener"](event)
except Exception as e:
- self.logger.error(e)
+ self.logger.error(f"{type(e).__name__} was raised: {e}")
import traceback
self.logger.debug(traceback.format_tb(e.__traceback__))

Print exception name in listener trace