Catch exceptions with winston.