nhmood / watson-ruby

inline issue manager
MIT License
634 stars 50 forks source link

Error to connect Asana #249

Closed jmparraguez-haulmer closed 10 years ago

jmparraguez-haulmer commented 10 years ago

I get: Unable to get project info from Asana API when i try to connect Asana API, i think the problem is in the file asana.rb: line 313.

mtford90 commented 10 years ago

What does the error look like? I've been using this for a while with no issue.

jmparraguez-haulmer commented 10 years ago

In debug mode I found that the error was gsub, was not installed. now it works

mtford90 commented 10 years ago

Cool, prob worth raising an issue to improve logging around problems like this. Shouldn't have to enable debug mode to figure out why its failings :)— Sent from Mailbox for iPhone

On Tue, Feb 11, 2014 at 1:36 PM, jmparra notifications@github.com wrote:

Closed #249.

Reply to this email directly or view it on GitHub: https://github.com/nhmood/watson-ruby/issues/249

jmparraguez-haulmer commented 10 years ago

Yes, and it was not easy to find the error, the log in debug mode is quite huuuge!

nhmood commented 10 years ago

@jmparra What did you mean by gsub was not installed? I thought it was part of Ruby core? Also, did you use --debug or --debug github? Either way, you and @mtford90 are right in that the error should be descriptive enough that you don't need to dig into the debug to figure out what the general cause is.

I'll look into adding more descriptive errors to the Asana module.