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

Return an error from askForConfigInfo instead of using panic #70

Merged
merged 1 commit into from
Mar 23, 2014

Conversation

Tonkpils
Copy link
Contributor

This will just print out the error message for the user instead of the stack trace panic creates.

@kytrinyx
Copy link
Member

Yeah, I think this is better. Thank you!

kytrinyx added a commit that referenced this pull request Mar 23, 2014
Return an error from askForConfigInfo instead of using panic
@kytrinyx kytrinyx merged commit 64cadb2 into exercism:master Mar 23, 2014
@Tonkpils Tonkpils deleted the less-panicky branch March 23, 2014 16:57
lcowell pushed a commit to lcowell/cli that referenced this pull request Jan 25, 2015
Return an error from askForConfigInfo instead of using panic
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.

2 participants