]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/commands/QuitGroupCommand.java
Update libsignal-service-java
[signal-cli] / src / main / java / org / asamk / signal / commands / QuitGroupCommand.java
index 03bf232ba66aba3266554391b0dfe1e6fa892b88..c64d19cc2a95dd2d04d78185fb24a839b74ad4f9 100644 (file)
@@ -66,7 +66,11 @@ public class QuitGroupCommand implements JsonRpcLocalCommand {
                 m.deleteGroup(groupId);
             }
         } catch (IOException e) {
                 m.deleteGroup(groupId);
             }
         } catch (IOException e) {
-            throw new IOErrorException("Failed to send message: " + e.getMessage());
+            throw new IOErrorException("Failed to send message: "
+                    + e.getMessage()
+                    + " ("
+                    + e.getClass().getSimpleName()
+                    + ")");
         } catch (GroupNotFoundException e) {
             throw new UserErrorException("Failed to send to group: " + e.getMessage());
         } catch (LastGroupAdminException e) {
         } catch (GroupNotFoundException e) {
             throw new UserErrorException("Failed to send to group: " + e.getMessage());
         } catch (LastGroupAdminException e) {