Fix the exception introspection logging to Sentry for HTTP errors.