Remove Request Identifier from message
Summary:
{F684271717}
^
This is causing the error being reported quite a lot. The identifier doesn't provide much information to the person analysing the error. Only ever useful if debugging.
Reviewed By: antonk52, mweststrate
Differential Revision: D32828150
fbshipit-source-id: f29fbf6bfe389fec6ef888fc01be6c058193709d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
77d7ec2efb
commit
0d94120928
@@ -41,7 +41,7 @@ export default class WebSocketClientConnection implements ClientConnection {
|
|||||||
const callbacks = this.pendingRequests.get(id);
|
const callbacks = this.pendingRequests.get(id);
|
||||||
|
|
||||||
if (!callbacks) {
|
if (!callbacks) {
|
||||||
throw new Error(`Pending request ${id} is not found`);
|
throw new Error('Pending request was not found');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.pendingRequests.delete(id);
|
this.pendingRequests.delete(id);
|
||||||
|
|||||||
Reference in New Issue
Block a user