You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The handleOnUnhandledRejectionEvent of BrowserClient contains the code below
const reason = data.event.reason;
....
let stack = "";
if ("stack" in reason) {
stack = reason.stack;
} else {
stack = reason.toString();
}
It is said in documentation that PromiseRejectionEvent property "reason" can be either Object or some other value. In case "reason" is not Object, the error is ocured.
In order to quick fix this issue there is a way to change the condition
if ("stack" in reason)
to
if (typeof reason == "object" && "stack" in reason)