OneBusAway / onebusaway-alexa

An Java-based app to communicate with Amazon Alexa for devices such as the Amazon Echo
Other
52 stars 18 forks source link

Include OBA error code in IOException #73

Closed barbeau closed 8 years ago

barbeau commented 8 years ago

I just spent a while trying to debug an IOException from an OBA server, which ended up being due to rate limiting - it took a while to figure out what was actually going on. This patch adds the OBA Error code to the IOException so we can actually see what's going wrong in the Lambda logs.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 53.759% when pulling adc89cb567cc7a58331a81682a046f4e1dcaadf3 on obaErrorCode into 26f075b98434e92af221f90fbf0e4f0e37b6accb on master.