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?