-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hi, I’ve identified some issues with the error handling in your code. Currently, the code only handles responses that include an error message:
const removeListener = this._addListener(requestId, data => { removeListener(); if (data.errorMessage) { const error = new Error(data.errorMessage); error.data = data.data; reject(error); } else { resolve(data); } });
However, there are cases where the response includes an array of errors that aren't being handled correctly. Could you please update the logic to cover this scenario as well?

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels