Different error strings (#8010)

This commit is contained in:
William FH 2023-07-20 09:58:25 -07:00 committed by GitHub
parent ec4f93b629
commit e2a99bd169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -310,7 +310,8 @@ def _handle_event(
)
else:
logger.warning(
f"Error in {handler.__class__.__name__}.{event_name} callback: {e}"
f"NotImplementedError in {handler.__class__.__name__}.{event_name}"
f" callback: {e}"
)
except Exception as e:
logger.warning(
@ -353,7 +354,8 @@ async def _ahandle_event_for_handler(
)
else:
logger.warning(
f"Error in {handler.__class__.__name__}.{event_name} callback: {e}"
f"NotImplementedError in {handler.__class__.__name__}.{event_name}"
f" callback: {e}"
)
except Exception as e:
logger.warning(