Skip to content
This repository has been archived by the owner on Dec 27, 2020. It is now read-only.

hide traceback from users #3

Open
Kyle-Falconer opened this issue Nov 22, 2016 · 0 comments
Open

hide traceback from users #3

Kyle-Falconer opened this issue Nov 22, 2016 · 0 comments

Comments

@Kyle-Falconer
Copy link
Contributor

When running the program as main, the entire traceback is shown to the user.

The typical user of this program would not be a programmer, so the traceback information is not useful, and would likely be confusing.

possible solution to this would be to add try/except blocks around the function calls in __main__, then print only the exception's message.

steveny2k added a commit to steveny2k/CSV-Validator that referenced this issue Dec 31, 2016
Kyle-Falconer added a commit that referenced this issue Jan 13, 2017
resolve "hide traceback from users #3"; correct unit tests; add test cases
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant