smurthas/fitbit-js — pull request #4 by mpj (2013-03-02 18:23:05+00:00)
Title: Better error handling in requestCallback

If an exception happened inside the callback, it was caught by the catch outside the callback, and then the error was sent to the callback. Brainmelt. :P I've fixed it so that it only catches the parsing errors.