Add exc_info to some logging to be used with Sentry