(20241204) Added some graceful error handling.

This commit is contained in:
2024-12-04 14:43:45 +05:30
parent f470baab62
commit 66afb9fa57
+7 -1
View File
@@ -265,7 +265,13 @@ async def mail_callback(
# ┣┫┏┓┏┓┏┫┃┏┓ ┃ ┏┓┃┃┣┓┏┓┏┃┏┏
# ┛┗┗┻┛┗┗┻┗┗ ┗┛┗┻┗┗┗┛┗┻┗┛┗┛
if mail_client == "gmail": return await handle_gmail_callback()
try:
if mail_client == "gmail": return await handle_gmail_callback()
except Exception as exception:
pass
# ┓┏ ┓┓ ┳ ┓• ┓ ┏┓┓•
# ┣┫┏┓┏┓┏┫┃┏┓ ┃┏┓┓┏┏┓┃┓┏┫ ┃ ┃┓┏┓┏┓╋