Skip to content

Don't swallow uncaught errors during upload #298

@zachmullen

Description

@zachmullen

This line is the culprit. We should probably catch the error and emit the error event.

I ran into this when trying to use a preUpload hook to do some validation and potentially stop the upload from happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions