Skip to content

Throw error instead of asserting #87

Description

@TimDaub

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions