Skip to content

Commit

Permalink
perf: 优化自定义短信测试总是成功的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
O-Jiangweidong authored and BaiJiangJie committed Mar 6, 2024
1 parent 40730b7 commit 533d2ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/common/sdk/sms/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def send_sms(self, phone_numbers: list, template_param: OrderedDict, **kwargs):
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

0 comments on commit 533d2ab

Please sign in to comment.