We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a minor issue around error visibility.
Here's how Bluebird's warning about the issue shows up:
Warning: a promise was rejected with a non-error: [object String]
To fix this, rej(string) must be called with new Error(string) instead.
rej(string)
new Error(string)
PR, coming soon. ❤️
The text was updated successfully, but these errors were encountered:
Promise issue from gatsbyjs#9283
14d7be6
Fixes gatsbyjs#9283
fix: throw error instead of string (#9284)
bcdd834
Fixes #9283 ## Description This is a minor issue around error visibility. Here's how Bluebird's warning about the issue shows up: ![image](https://user-images.githubusercontent.com/397632/47270777-d47ce680-d52d-11e8-9a1d-1812a9837d5a.png) `Warning: a promise was rejected with a non-error: [object String]` To fix this, `rej(string)` must be called with a `new Error(string)` instead.
fix: throw error instead of string (gatsbyjs#9284)
68287bb
Fixes gatsbyjs#9283 ## Description This is a minor issue around error visibility. Here's how Bluebird's warning about the issue shows up: ![image](https://user-images.githubusercontent.com/397632/47270777-d47ce680-d52d-11e8-9a1d-1812a9837d5a.png) `Warning: a promise was rejected with a non-error: [object String]` To fix this, `rej(string)` must be called with a `new Error(string)` instead.
Successfully merging a pull request may close this issue.
Description
This is a minor issue around error visibility.
Here's how Bluebird's warning about the issue shows up:
Warning: a promise was rejected with a non-error: [object String]
To fix this,
rej(string)
must be called withnew Error(string)
instead.PR, coming soon. ❤️
The text was updated successfully, but these errors were encountered: