]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/commands/LinkCommand.java
implement Dbus sync methods (#737)
[signal-cli] / src / main / java / org / asamk / signal / commands / LinkCommand.java
index 9fcaf04d03b93f01bb3713c40f89a88932a371fe..fbc0330062c3bef1418a3a42bdcd85f4d4ceda3c 100644 (file)
@@ -49,7 +49,7 @@ public class LinkCommand implements ProvisioningCommand {
         } catch (TimeoutException e) {
             throw new UserErrorException("Link request timed out, please try again.");
         } catch (IOException e) {
-            throw new IOErrorException("Link request error: " + e.getMessage());
+            throw new IOErrorException("Link request error: " + e.getMessage(), e);
         } catch (UserAlreadyExists e) {
             throw new UserErrorException("The user "
                     + e.getUsername()