Minor change

This commit is contained in:
Nocturn9x 2023-05-10 12:10:12 +02:00
parent b7b67e9ac3
commit b875093c8a
Signed by: nocturn9x
GPG Key ID: 8270F9F467971E59
1 changed files with 0 additions and 2 deletions

View File

@ -20,7 +20,6 @@ async def message_handler(q: aiosched.Queue):
logging.info(f"Got message {msg!r} with the following payload: {payload}")
except Exception as e:
logging.error(f"An exception occurred in the message handler -> {type(e).__name__}: {e}")
raise
async def serve(bind_address: tuple):
@ -131,5 +130,4 @@ if __name__ == "__main__":
if isinstance(error, KeyboardInterrupt):
logging.info("Ctrl+C detected, exiting")
else:
raise
logging.error(f"Exiting due to a {type(error).__name__}: {error}")