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

Throw error instead of asserting #87

Open
TimDaub opened this issue Apr 17, 2019 · 0 comments
Open

Throw error instead of asserting #87

TimDaub opened this issue Apr 17, 2019 · 0 comments

Comments

@TimDaub
Copy link
Contributor

TimDaub commented Apr 17, 2019

In https://github.com/leapdao/leap-core/blob/master/lib/output.js#L93, I'm getting an assertion error when I invoke calcOutputs incorrectly.

As a user, this gets bubbled up to me as an AssertionError, where as I would expect just a normal error.

Screen Shot 2019-04-17 at 16 12 23

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

2 participants