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 1473c27 commit 6b995b4Copy full SHA for 6b995b4
1 file changed
lib/core.js
@@ -1611,7 +1611,7 @@
1611
if (!data.error && !data.status_code) {
1612
console.warn('No error param in registerFetchError data', data);
1613
} else if (data.error) {
1614
- if (typeof data.error === 'string' || typeof data.error === 'number') {
+ if (typeof data.error === 'string') {
1615
fetch_data.error_code = data.error
1616
} else {
1617
// Convert runtime `error` to `error_code` and `error_message`.
0 commit comments