Fix test for log error handling
timkinnane opened this issue · comments
Tim Kinnane commented
Winston logger should automatically handle uncaught exceptions and log an error
message, but it's tricky to test uncaught exceptions in mocha because it will
throw the test. No solution in mind.
see https://github.com/Amazebot/bbot/blob/master/src/lib/logger.spec.ts#L34