Open timkinnane opened 6 years ago
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
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