diff --git a/apps/common/sdk/sms/custom.py b/apps/common/sdk/sms/custom.py index 2cfaca6ca..23a03762a 100644 --- a/apps/common/sdk/sms/custom.py +++ b/apps/common/sdk/sms/custom.py @@ -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