diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/VerificationController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/VerificationController.java index 7fb61b380..7fc4d1037 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/VerificationController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/VerificationController.java @@ -397,8 +397,9 @@ public class VerificationController { Tag.of(SCORE_TAG_NAME, assessmentResult.getScoreString()))) .increment(); - } catch (IOException e) { - throw new ServerErrorException(Response.Status.SERVICE_UNAVAILABLE); + } catch (final IOException e) { + logger.error("error assessing captcha", e); + throw new ServerErrorException(Response.Status.SERVICE_UNAVAILABLE, e); } if (assessmentResult.isValid(captchaScoreThreshold)) {