unfetch icon indicating copy to clipboard operation
unfetch copied to clipboard

Promise was rejected with a non-error

Open nmoinvaz opened this issue 5 years ago • 1 comments

It seems that the promise is not rejected with an error and it generates this warning:

image

Consider using something like:

request.onerror = function() {
    reject(new Error('Request for ' + url + ' failed with status code ' + request.status));
};

This occurs when using Bluebird Promises.

nmoinvaz avatar Aug 22 '20 01:08 nmoinvaz

@developit can u assign this issue to me? I would be able to fix it after few questions.

Vansh-Baghel avatar Feb 08 '23 11:02 Vansh-Baghel