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
When using native promises .catch() with error filter, if the function with received body throws an error, the constructor of the error itself throws another error.
TypeError: Cannot set property 'name' of undefined
at StatusCodeError (/home/user/project/node_modules/request-promise-core/lib/errors.js:24:15)
When using native promises .catch() with error filter, if the function with received body throws an error, the constructor of the error itself throws another error.
Using this require syntax
consider the following snippet, when the REST API returns status='error':
NodeJS: 12.8.0
npm: 6.10.2
The text was updated successfully, but these errors were encountered: