Skip to content

There is no way to capture and respond to errors loading the image #25

@nephiw

Description

@nephiw

Recreate - provide Crop with an image source that does not exist

Result - an error is printed to the console

Expected - an error is thrown, or the crop object notifies that an error occurred, that I can capture and use to alert my users.

This is caused by this line: https://github.com/willbamford/tinycrop/blob/master/src/index.js#L204 - which swallows the error and simply logs it to the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions