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

No Error-Message if invalid XLSX #26

Closed
koehdaniel opened this issue Nov 20, 2019 · 0 comments
Closed

No Error-Message if invalid XLSX #26

koehdaniel opened this issue Nov 20, 2019 · 0 comments

Comments

@koehdaniel
Copy link
Contributor

If the provided Excel-File does not contain the Column "Buchungsdatum" the sorting fails, but no Error Message is shown:
image

The reason for that is, that in the catch block the Exception is not casted to a string.
Replacing deferred.reject({message: e}) with deferred.reject({message: String(e)}) fixes the problem:
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

1 participant