react-file-viewer
react-file-viewer copied to clipboard
Corrupted xlsx file throwing error : "Error Corrupted zip : can't find end of central directory"
We are using this version - "react-file-viewer": "^1.2.1"
Steps to reproduce this issue -
Use any corrupted XLSX file, try to preview
Getting this error on the screen -
Error Corrupted zip : can't find end of central directory
It's working for unsupported formats, but not for corrupted files, our application is deployed to production, please help with this
Facing a similar issue in our app. Can we handle this error and show the error message?
Have you solved the problem?
Nopes, have not solved this problem , but can raise a PR for the error handling
Any update on this ?