yahoo/ycb-config — pull request #9 by redonkulus (2014-12-12 05:05:50+00:00)
Title: Move _readConfigContents callback out of try/catch

@drewfish

I found an issue where I had an error in my callback to `_readConfigContents` but because it was inside the try/catch, the error was being swallowed and the callback was getting called twice. Once in the try and again in the catch. This simple change is to move the return callback outside of the try.

More info on this issue here: http://joseoncode.com/2013/12/27/case-of-double-callbacks/