No console log messages in breadcrumbs


#1

I’m initing Sentry with

 <script src="https://browser.sentry-cdn.com/4.0.6/bundle.min.js" crossorigin="anonymous"></script>
<script>
    Sentry.init({
        dsn: 'https://...@sentry.io/...',
        maxBreadcrumbs: 100,
        environment: "dev",
    });

    console.log("One");
    console.log("Two", {a: 1});
    console.error("Error 2");
    let a = () => {
        throw new Error("Error thrown 3")
    }
    a()

</script>

I get the errors, but i don’t get messages from console in the browser. Why?


#2

This is a bug, we are working on a fix as we speak. https://github.com/getsentry/sentry-javascript/pull/1649