brmathes@BRMATHES-M-41PD > ./ecoBar.1m.rb
/Users/brmathes/.bitbar/ecobee/ecobee/token.rb:147:in `rescue in block in refresh_access_token_wrapper': class or module required for rescue clause (TypeError)
from /Users/brmathes/.bitbar/ecobee/ecobee/token.rb:145:in `block in refresh_access_token_wrapper'
from /Users/brmathes/.bitbar/ecobee/ecobee/token.rb:144:in `times'
from /Users/brmathes/.bitbar/ecobee/ecobee/token.rb:144:in `refresh_access_token_wrapper'
from /Users/brmathes/.bitbar/ecobee/ecobee/token.rb:58:in `access_token'
from /Users/brmathes/.bitbar/ecobee/ecobee/token.rb:49:in `initialize'
from ./ecoBar.1m.rb:53:in `new'
from ./ecoBar.1m.rb:53:in `<main>'
Looking at the code .. i can't see anything obvious and my ruby-fu has atrophied. Any ideas?
Getting this error on init:
Looking at the code .. i can't see anything obvious and my ruby-fu has atrophied. Any ideas?