diff --git a/Server/integrations/twilio_sms/twilio2FA.py b/Server/integrations/twilio_sms/twilio2FA.py index 19ae5be729..2fa4d5211b 100644 --- a/Server/integrations/twilio_sms/twilio2FA.py +++ b/Server/integrations/twilio_sms/twilio2FA.py @@ -135,8 +135,9 @@ def authenticate(self, configurationAttributes, requestParameters, step): print 'TwilioSMs, Message Sid: %s' % (message.getSid()) return True - except: + except Exception, ex: print "TwilioSMS. Error sending message to Twilio" + print "TwilioSMS. Unexpected error:", ex return False elif step == 2: