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

is sharp(undefined, { raw: ... }) valid? if not, it would be handy to have it error. #1767

Closed
ericblade opened this issue Jun 27, 2019 · 1 comment
Labels

Comments

@ericblade
Copy link

I had some issues where I was trying to do some processing with sharp, and was getting stuck inside a promise that never resolved or rejected. Turns out that I was accidentally passing in undefined variables as the first parameter to sharp(), and it took me quite a while to locate that as the culprit because there was no error or warning or anything.

@lovell
Copy link
Owner

lovell commented Jun 27, 2019

Let's track this in #1768 as it's the same thing and benefits from a code sample.

@lovell lovell closed this as completed Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants