소스 검색

bug: fix minor exception msg missing (#21255)

tags/1.5.0
NeatGuyCoding 4 달 전
부모
커밋
d34795fc08
No account linked to committer's email address
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}")

Loading…
취소
저장