Update register error message

This commit is contained in:
AsamK 2022-06-07 11:53:53 +02:00
parent 51c2352d67
commit 5b5a1718e9
2 changed files with 8 additions and 1 deletions

View file

@ -80,7 +80,7 @@ public class RegisterCommand implements RegistrationCommand, JsonRpcRegistration
} catch (NonNormalizedPhoneNumberException e) {
throw new UserErrorException("Failed to register: " + e.getMessage(), e);
} catch (IOException e) {
throw new IOErrorException("Request verify error: " + e.getMessage(), e);
throw new IOErrorException("Failed to register: " + e.getMessage(), e);
}
}