diff --git a/halibot/halobject.py b/halibot/halobject.py index 448f05f..d08f0cc 100644 --- a/halibot/halobject.py +++ b/halibot/halobject.py @@ -1,4 +1,4 @@ -import logging +import logging, traceback import asyncio import inspect import copy @@ -68,8 +68,10 @@ def sync_send_to(self, msg, dests): return r async def _receive(self, msg): - self.receive(msg) - + try: + self.receive(msg) + except Exception as e: + traceback.print_exc() def receive(self, msg): pass