fix sentry logging