Skip to content

Return an error from askForConfigInfo instead of using panic#70

Merged
kytrinyx merged 1 commit intoexercism:masterfrom
Tonkpils:less-panicky
Mar 23, 2014
Merged

Return an error from askForConfigInfo instead of using panic#70
kytrinyx merged 1 commit intoexercism:masterfrom
Tonkpils:less-panicky

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