]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/commands/UpdateProfileCommand.java
Print stack trace of exception causes in verbose mode
[signal-cli] / src / main / java / org / asamk / signal / commands / UpdateProfileCommand.java
index 15c29e85373b3cc048016230cda6877a1df2bc79..f6dcb30eaa4d212ec01a5c61c4024e3639ad6a4a 100644 (file)
@@ -51,7 +51,7 @@ public class UpdateProfileCommand implements JsonRpcLocalCommand {
         try {
             m.setProfile(givenName, familyName, about, aboutEmoji, avatarFile);
         } catch (IOException e) {
-            throw new IOErrorException("Update profile error: " + e.getMessage());
+            throw new IOErrorException("Update profile error: " + e.getMessage(), e);
         }
     }
 }