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

Catch Dropzone errors from XLSX #260

Open
PerryRylance opened this issue Jun 10, 2024 · 0 comments
Open

Catch Dropzone errors from XLSX #260

PerryRylance opened this issue Jun 10, 2024 · 0 comments

Comments

@PerryRylance
Copy link

If you drop a "CSV" file with a bunch of HTML dumped in it, the XLSX library will go looking for a table element. If no such element is present, XLSX.read throws, leaving the importer in a loading state.

We've forked this to wrap that call in a try / catch and pass this back up to the UploadStep to toast on error.

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

1 participant