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

misc UX improvements #24

Merged
merged 5 commits into from
May 6, 2021
Merged

misc UX improvements #24

merged 5 commits into from
May 6, 2021

Conversation

ryepup
Copy link
Contributor

@ryepup ryepup commented May 6, 2021

  • stop relying on specific exception messages

    less linq, less string parsing. Should be more reliable

  • improve error message for duplicate column headers

    Relies on the default exception text, which might not be a safe assumption.

  • hide some unhelpful logs

  • handle errors when the results file is open

    One common problem is forgetting to close the results xlsx file between runs, which throws errors trying to write after a potentially long comparison step.

    Catch that error and pick a different file name.

  • throw errors if we're not processing xlsx

    Send a more useful error message back instead of some lengthy EPPlus stack trace.

ryepup added 5 commits May 6, 2021 13:41
Send a more useful error message back instead of some lengthy EPPlus stack trace.
One common problem is forgetting to close the results xlsx file between runs, which throws errors trying to write after a potentially long comparison step.

Catch that error and pick a different file name.
Relies on the default exception text, which might not be a safe assumption.
less linq, less string parsing. Should be more reliable
@ryepup ryepup self-assigned this May 6, 2021
@ryepup ryepup merged commit 76f6999 into main May 6, 2021
@ryepup ryepup deleted the ux branch May 6, 2021 19:34
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

Successfully merging this pull request may close these issues.

1 participant