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

Added a helpful error message when you forget to set a logger. #71

Conversation

jamonholmgren
Copy link
Contributor

I was puzzled for a while at an unhelpful NoMethodError. I had forgotten to include Methadone::CLILogging nor provided my own logger.

This provides a helpful error message. I included a passing test.

@davetron5000
Copy link
Owner

Looks good. I don't think this is causing the CI failure for rbx, but I'll look into that before releasing. Thanks for doing this and thanks for the test coverage.

davetron5000 added a commit that referenced this pull request Oct 30, 2013
…r_set

Added a helpful error message when you forget to set a logger.
@davetron5000 davetron5000 merged commit 266479e into davetron5000:master Oct 30, 2013
@jamonholmgren
Copy link
Contributor Author

You bet...thanks for the great gem!

@jamonholmgren jamonholmgren deleted the patch/warning_when_no_logger_set branch October 31, 2013 05:57
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