We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3289db0 commit 1d3ec80Copy full SHA for 1d3ec80
js/msg.js
@@ -133,10 +133,9 @@
133
} catch (e) {
134
error = e;
135
}
136
- if (!error || isIgnorableError(error)) {
+ if (!error || isIgnorableError(err.message = error.message)) {
137
return data;
138
139
- err.message = error.message;
140
if (error.stack) err.stack = error.stack + '\n' + err.stack;
141
return Promise.reject(err);
142
@@ -158,7 +157,7 @@
158
157
try {
159
return await apiSend(m);
160
161
- return bgReadying && isIgnorableError(e)
+ return bgReadying && isIgnorableError(e.message)
162
? await bgReadying && apiSend(m)
163
: Promise.reject(e);
164
} finally {
0 commit comments