]> nmode's Git Repositories - signal-cli/blobdiff - lib/src/main/java/org/asamk/signal/manager/helper/GroupHelper.java
Include reason for inactive group link in error message
[signal-cli] / lib / src / main / java / org / asamk / signal / manager / helper / GroupHelper.java
index 57f9c92411430969f6f86bfefe2cc04476842617..9d4f712ce9a040d9b74e6fd263b033348d2ddcfb 100644 (file)
@@ -262,7 +262,7 @@ public class GroupHelper {
             groupJoinInfo = context.getGroupV2Helper()
                     .getDecryptedGroupJoinInfo(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword());
         } catch (GroupLinkNotActiveException e) {
-            throw new InactiveGroupLinkException("Group link inactive", e);
+            throw new InactiveGroupLinkException("Group link inactive (reason: " + e.getReason() + ")", e);
         }
         final var groupChange = context.getGroupV2Helper()
                 .joinGroup(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword(), groupJoinInfo);