Skip to content

Commit

Permalink
add relay in error msg (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaaElattar authored Oct 23, 2023
1 parent cc9ceb4 commit 0311a02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/rmb_direct_client/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ class Client {
}
console.log(err);
throw new Error({
message: `Unable to establish a connection with the RMB server. Please check your internet connection and try again. If the problem persists, please contact our support.`,
message: `Unable to establish a connection with the RMB server ${this.relayUrl.replace(
"wss://",
"",
)}. Please check your internet connection and try again. If the problem persists, please contact our support.`,
});
}
}
Expand Down

0 comments on commit 0311a02

Please sign in to comment.