flatiron/winston — pull request #128 by mikelehen (2012-04-18 02:03:44+00:00)
Title: Fix logger.add() to properly handle if transport has handleExceptions on.

Without this fix, the following doesn't work:

winston.add(winston.transports.File, { filename: 'handle-beta-requests.log', handleExceptions: true });
throw new Error('This should get logged!');