diff --git a/deps/keycloak-mobile-number-login-spi/src/main/java/in/divoc/api/authenticator/NotifyService.java b/deps/keycloak-mobile-number-login-spi/src/main/java/in/divoc/api/authenticator/NotifyService.java index 54867bd78..901dd18f8 100644 --- a/deps/keycloak-mobile-number-login-spi/src/main/java/in/divoc/api/authenticator/NotifyService.java +++ b/deps/keycloak-mobile-number-login-spi/src/main/java/in/divoc/api/authenticator/NotifyService.java @@ -47,6 +47,7 @@ public void notify(String to, String otp) throws IOException { } } catch (IOException e) { logger.error("Exception occurred while notifying: {}", ExceptionUtils.getStackTrace(e)); + throw e; } }