]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/commands/RegisterCommand.java
Print stack trace of exception causes in verbose mode
[signal-cli] / src / main / java / org / asamk / signal / commands / RegisterCommand.java
index dad692d213b35516c6954a0f7008a845404bd836..96530889a10f902b87bfc156af18b68621a5e27c 100644 (file)
@@ -49,7 +49,7 @@ public class RegisterCommand implements RegistrationCommand {
             }
             throw new UserErrorException(message);
         } catch (IOException e) {
-            throw new IOErrorException("Request verify error: " + e.getMessage());
+            throw new IOErrorException("Request verify error: " + e.getMessage(), e);
         }
     }
 }