i originally posted this as an issue i thought your library had. But i quickly realized that this was an error in my own code.
The confusion stems from the try/catch in class.instagram.coffee at line 129. I think your try catch is intended for the JSON.parse() line but it covers the complete statement as well, causing it to catch any uncaught errors in the callback. Instead, would it better just to throw the otherwise uncaught exception?
i originally posted this as an issue i thought your library had. But i quickly realized that this was an error in my own code.
The confusion stems from the try/catch in class.instagram.coffee at line 129. I think your try catch is intended for the JSON.parse() line but it covers the complete statement as well, causing it to catch any uncaught errors in the callback. Instead, would it better just to throw the otherwise uncaught exception?