Use console.error instead of console log. Will be sent to sentry.