Update libsignal-service-java

This commit is contained in:
AsamK 2023-04-16 21:18:54 +02:00
parent d2251ccd14
commit 842f13b2fc
3 changed files with 41 additions and 25 deletions

View file

@ -55,7 +55,11 @@ public class FinishLinkCommand implements JsonRpcMultiCommand<FinishLinkCommand.
} catch (TimeoutException e) {
throw new UserErrorException("Link request timed out, please try again.");
} catch (IOException e) {
throw new IOErrorException("Link request error: " + e.getMessage(), e);
throw new IOErrorException("Link request error: "
+ e.getMessage()
+ " ("
+ e.getClass().getSimpleName()
+ ")", e);
} catch (UserAlreadyExistsException e) {
throw new UserErrorException("The user "
+ e.getNumber()