]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/commands/JoinGroupCommand.java
Exit immediately if an uncaught error is thrown on the main thread
[signal-cli] / src / main / java / org / asamk / signal / commands / JoinGroupCommand.java
index 8c1b9fb25764c96f54dafe6b1450e78f498a43fe..f55858811078583042656ed4661379dc63de1dce 100644 (file)
@@ -78,10 +78,10 @@ public class JoinGroupCommand implements JsonRpcLocalCommand {
                     + e.getMessage()
                     + " ("
                     + e.getClass().getSimpleName()
-                    + ")");
+                    + ")", e);
         } catch (DBusExecutionException e) {
             throw new UnexpectedErrorException("Failed to send message: " + e.getMessage() + " (" + e.getClass()
-                    .getSimpleName() + ")");
+                    .getSimpleName() + ")", e);
         } catch (GroupLinkNotActiveException e) {
             throw new UserErrorException("Group link is not valid: " + e.getMessage());
         }