Include reason for inactive group link in error message
This commit is contained in:
parent
e844abcad1
commit
376fcba9ec
@ -262,7 +262,7 @@ public class GroupHelper {
|
|||||||
groupJoinInfo = context.getGroupV2Helper()
|
groupJoinInfo = context.getGroupV2Helper()
|
||||||
.getDecryptedGroupJoinInfo(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword());
|
.getDecryptedGroupJoinInfo(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword());
|
||||||
} catch (GroupLinkNotActiveException e) {
|
} 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()
|
final var groupChange = context.getGroupV2Helper()
|
||||||
.joinGroup(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword(), groupJoinInfo);
|
.joinGroup(inviteLinkUrl.getGroupMasterKey(), inviteLinkUrl.getPassword(), groupJoinInfo);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user