Skip to content

Commit

Permalink
Merge pull request #622 from guusdk/sint-rosterutil-errormessage
Browse files Browse the repository at this point in the history
[sinttest] Add error message to subscribe request failure
  • Loading branch information
Flowdalic authored Sep 12, 2024
2 parents 7024151 + 4f840d1 commit 3dfd90d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void presenceSubscribed(BareJid address, Presence subscribedPresence) {
try {
presenceRequestingRoster.sendSubscriptionRequest(presenceRequestReceiverAddress.asBareJid());

syncPoint.waitForResult(timeout);
syncPoint.waitForResult(timeout, "Timeout while waiting for subscription request of '" + presenceRequestingAddress + "' to '" + presenceRequestReceiverAddress + "' to be answered.");
} finally {
presenceRequestReceiverRoster.removeSubscribeListener(subscribeListener);
presenceRequestingRoster.removePresenceEventListener(presenceEventListener);
Expand Down

0 comments on commit 3dfd90d

Please sign in to comment.