mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 09:06:47 +00:00
Log IOException from assessCaptcha
This commit is contained in:
1 parent
374fe087bc
commit
dd7a20a774
1 file changed
+3
-2
+3
-2
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user