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

traceback needed #37

Open
bhbraswell opened this issue May 29, 2015 · 2 comments
Open

traceback needed #37

bhbraswell opened this issue May 29, 2015 · 2 comments
Labels

Comments

@bhbraswell
Copy link
Member

In utils function data_sources(), when the line repo = repository_class(key) throws an exception, all you see on the command line is a message that says your dataset is not a valid choice.

So I suspect this line:
VerboseOut(traceback.format_exc(), 4)

isn't doing what it is supposed to, which I think is to dump the trace to help with debugging.

@bhbraswell bhbraswell added the bug label May 29, 2015
@matthewhanson
Copy link
Member

are you running with verbose = 4? It should dump the trace, if not it will just print the error message.

Anyway, overall the exception handling can be improved in this location and others.

@bhbraswell
Copy link
Member Author

I am using -v4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants