perf: 优化自定义短信测试总是成功的问题

pull/12762/head^2
jiangweidong 2024-03-06 11:31:20 +08:00 committed by Bryan
parent 40730b741d
commit 533d2ab98a
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class CustomSMS(BaseSMSClient):
raise JMSException(detail=response.text, code=response.status_code)
except Exception as exc:
logger.error('Custom sms error: {}'.format(exc))
raise JMSException(exc)
client = CustomSMS