Skip to content

Commit

Permalink
fix: updated removePendingRequestByNodeID
Browse files Browse the repository at this point in the history
updated message
  • Loading branch information
JS-AK committed Nov 6, 2024
1 parent 707505d commit 6e1fd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ class Transit {
if (sender === nodeID) {
// Close the stream with error
if (!stream.destroyed) {
stream.destroy(new Error("Request stream closed by " + nodeID));
stream.destroy(new Error(`Request stream closed by ${nodeID}`));
}

this.pendingReqStreams.delete(id);
Expand Down

0 comments on commit 6e1fd71

Please sign in to comment.