Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Exception messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Téo Haÿs committed Aug 14, 2023
1 parent f5eb824 commit 61a992b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kayo/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,6 @@ async def send_match_alert(channel_id, match):
if channel is None:
raise BaseException(f'Couldnt get the alert channel with id : {channel_id}')
await channel.send(embed=await embed_alert(match))
except:
except Exception as e:
instance.logger.exception(f'Got an exception sending an alert : {e}')
pass

0 comments on commit 61a992b

Please sign in to comment.