jhgaylor / StatBot

A chat bot and web tools for League of Legends
10 stars 2 forks source link

api: errors getting swallowed #21

Closed jhgaylor closed 9 years ago

jhgaylor commented 9 years ago

This thing swallows up errors... failed http requests, type errors, etc. Need better error handling on promises

Great example: https://github.com/jhgaylor/statbot/blob/master/statbot_api/src/DataSources.coffee#L20

Any exception from LoL is just going to disappear