added sentry test throw error

This commit is contained in:
Bachir Soussi Chiadmi 2025-03-21 23:00:44 +01:00
parent 0e92cbb060
commit 2d9f83cfef
2 changed files with 5 additions and 2 deletions

View File

@ -21,8 +21,11 @@ export default {
} }
}, },
created () { created () {
this.loadContentTypeDefinition(); this.loadContentTypeDefinition()
this.loadConcernements() this.loadConcernements()
setTimeout(()=>{
throw new Error("sentry test error");
})
}, },
mounted () { mounted () {
console.log('APP onMounted') console.log('APP onMounted')

View File

@ -37,7 +37,7 @@ Sentry.init({
tracesSampleRate: 0.01, tracesSampleRate: 0.01,
normalizeDepth: 10, // Or however deep you want your state context to be. normalizeDepth: 10, // Or however deep you want your state context to be.
environment: "prod", environment: "prod",
release : '1' // release : '1'
}); });
const pinia = createPinia() const pinia = createPinia()