diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java index 0f54d2a80..9092ece0d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java @@ -997,7 +997,9 @@ public class AccountController { return registrationServiceClient.checkVerificationCode(sessionId, verificationCode, REGISTRATION_RPC_TIMEOUT).join(); } catch (final CompletionException e) { rethrowRateLimitException(e); - throw e; + + // For legacy API compatibility, funnel all errors into the same return value + return false; } }