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

get_issues': undefined method code' for nil:NilClass (NoMethodError) #250

Open
victorhaggqvist opened this issue Feb 12, 2014 · 2 comments

Comments

@victorhaggqvist
Copy link

/home/victor/.rvm/gems/ruby-2.1.0/gems/watson-ruby-1.6.3/lib/watson/github.rb:328:in `get_issues': undefined method `code' for nil:NilClass (NoMethodError)
    from /home/victor/.rvm/gems/ruby-2.1.0/gems/watson-ruby-1.6.3/lib/watson/config.rb:206:in `run'
    from /home/victor/.rvm/gems/ruby-2.1.0/gems/watson-ruby-1.6.3/lib/watson/command.rb:172:in `execute'
    from /home/victor/.rvm/gems/ruby-2.1.0/gems/watson-ruby-1.6.3/bin/watson:11:in `<top (required)>'
    from /home/victor/.rvm/gems/ruby-2.1.0/bin/watson:23:in `load'
    from /home/victor/.rvm/gems/ruby-2.1.0/bin/watson:23:in `<main>'
@nhmood
Copy link
Owner

nhmood commented Feb 13, 2014

Looks like the HTTP call didn't return a proper response for some reason. Can you reproduce this problem? This isn't related to fixing this problem, I am just curious what the cause is.

I need to do actual exception handling around HTTP calls (among other things...) to prevent the whole app crashing on these types of things. Expect to see a fix for this soon.

@victorhaggqvist
Copy link
Author

I have not been able to reproduce this, but I'm pretty sure it accured when I lost wifi connection in the middle of a github sync, which then obtiously timedout because of that.

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

No branches or pull requests

2 participants