improve error handling and don't swallow exceptions

This commit is contained in:
Aleix Conchillo Flaqué
2024-06-28 16:10:58 -07:00
parent abd65a93b2
commit fc0920504d
16 changed files with 38 additions and 35 deletions

View File

@@ -82,5 +82,4 @@ class BaseTransport(ABC):
else:
handler(self, *args, **kwargs)
except Exception as e:
logger.error(f"Exception in event handler {event_name}: {e}")
raise e
logger.exception(f"Exception in event handler {event_name}: {e}")