Improve error handling of getUserStatus command for invalid phonen numbers

This commit is contained in:
AsamK 2022-01-23 20:50:56 +01:00
parent 166bec0f8d
commit 5d23b1ed9d
2 changed files with 6 additions and 2 deletions

View file

@ -105,7 +105,7 @@ public class RecipientHelper {
.getRegisteredUsers(ServiceConfig.getIasKeyStore(),
numbers,
serviceEnvironmentConfig.getCdsMrenclave());
} catch (Quote.InvalidQuoteFormatException | UnauthenticatedQuoteException | SignatureException | UnauthenticatedResponseException | InvalidKeyException e) {
} catch (Quote.InvalidQuoteFormatException | UnauthenticatedQuoteException | SignatureException | UnauthenticatedResponseException | InvalidKeyException | NumberFormatException e) {
throw new IOException(e);
}