Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promise was rejected with a non-error #139

Open
nmoinvaz opened this issue Aug 22, 2020 · 1 comment
Open

Promise was rejected with a non-error #139

nmoinvaz opened this issue Aug 22, 2020 · 1 comment

Comments

@nmoinvaz
Copy link

nmoinvaz commented Aug 22, 2020

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.

@Vansh-Baghel
Copy link

Vansh-Baghel commented Feb 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants