Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: throw error instead of string (#9284)
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.
- Loading branch information