Only log critical errors to sentry