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

Try imageCompression() catches a ProgressEvent instead of an error #211

Open
quique0194 opened this issue Oct 10, 2023 · 1 comment
Open

Comments

@quique0194
Copy link

Here our sentry error report:

https://apurata.sentry.io/share/issue/a6c8327fb98f45f79da12a264276aec2/

At least it'd be nice to understand why is happening this in order to handle it properly.

@hambro
Copy link

hambro commented Jun 17, 2024

It just catches whatever error your browser throws. Look at error.target.error if you can and have a look at what the actual error is. In my case, we had a webview problem where the file was just discarded immediately. See screenshot for example.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants