Skip to content

Commit

Permalink
Fixed Exception error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ns-AnoNymouS authored Jun 2, 2021
1 parent 09c1010 commit ff8e9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main_startup/helper_func/logger_s.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def log_msg(self, client, text: str = "?"):
else:
try:
return await client.send_message(self.chat_id, text)
except:
except Exception as e:
logging.error(str(e))
return None

Expand Down

0 comments on commit ff8e9c9

Please sign in to comment.