-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
rpc method can't catch error of rejected promise
(node:98660) UnhandledPromiseRejectionWarning: The client has already been closed.
canceller = toCall(argument, (err, response, next, rawResponse) => {
...
}).catch(err => {
console.log('---canceller error: ', err)
callback(err);
});
```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.