Fix patched SMS sender to log the actual code for SMS verification as well as voice

This commit is contained in:
Finn Herzfeld 2018-12-05 14:45:34 -08:00
parent 61b92529ab
commit 6a030735c9

View file

@ -40,7 +40,7 @@ index 8b62e0f..0e68bb0 100644
- } catch (TwilioRestException e) { - } catch (TwilioRestException e) {
- logger.info("Twilio SMS Failed: " + e.getErrorMessage()); - logger.info("Twilio SMS Failed: " + e.getErrorMessage());
- } - }
+ logger.info("Sending SMS verification code to " + destination + ": " + destination); + logger.info("Sending SMS verification code to " + destination + ": " + verificationCode);
} }
public void deliverVoxVerification(String destination, String verificationCode) public void deliverVoxVerification(String destination, String verificationCode)