ソースを参照

bug: fix minor exception msg missing (#21255)

tags/1.5.0
NeatGuyCoding 4ヶ月前
コミット
d34795fc08
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更4行の追加1行の削除
  1. 4
    1
      api/libs/sendgrid.py

+ 4
- 1
api/libs/sendgrid.py ファイルの表示

@@ -35,7 +35,10 @@ class SendGridClient:
logging.exception("SendGridClient Timeout occurred while sending email")
raise
except (UnauthorizedError, ForbiddenError) as e:
logging.exception("SendGridClient Authentication failed. Verify that your credentials and the 'from")
logging.exception(
"SendGridClient Authentication failed. "
"Verify that your credentials and the 'from' email address are correct"
)
raise
except Exception as e:
logging.exception(f"SendGridClient Unexpected error occurred while sending email to {_to}")

読み込み中…
キャンセル
保存