2
0

🚸 Skip validation if __ENV.js file does not exist

This commit is contained in:
Baptiste Arnaud
2023-08-31 09:57:54 +02:00
parent 9d29a88ed3
commit dfcfdf2138
9 changed files with 61 additions and 99 deletions

View File

@@ -9,16 +9,4 @@ Sentry.init({
"Can't find variable: ResizeObserver",
],
release: process.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA + '-builder',
beforeBreadcrumb(breadcrumb, hint) {
try {
if (breadcrumb.category.startsWith('ui')) {
breadcrumb.message = `${hint.event.target.tagName.toLowerCase()}: ${
hint.event.target.innerText
}`
}
} catch (e) {
/* empty */
}
return breadcrumb
},
})