From 533d2ab98a284769bc589d5cd4d5502373c3afb5 Mon Sep 17 00:00:00 2001 From: jiangweidong Date: Wed, 6 Mar 2024 11:31:20 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=9F=AD=E4=BF=A1=E6=B5=8B=E8=AF=95=E6=80=BB=E6=98=AF?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/sdk/sms/custom.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/common/sdk/sms/custom.py b/apps/common/sdk/sms/custom.py index 2cfaca6caef6..23a03762a24d 100644 --- a/apps/common/sdk/sms/custom.py +++ b/apps/common/sdk/sms/custom.py @@ -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