File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,10 +42,8 @@ <h2>QR Code Generator</h2>
4242</ body >
4343</ html >
4444
45- < script
46- src ="https://js.sentry-cdn.com/3410730c33a0ed28fc51370949258ba8.min.js "
47- crossorigin ="anonymous "
48- > </ script >
45+ < script src ="https://js.sentry-cdn.com/3410730c33a0ed28fc51370949258ba8.min.js " crossorigin ="anonymous "> </ script >
46+ < script src ="js/sentry.js "> </ script >
4947
5048< script >
5149 Sentry . init ( {
Original file line number Diff line number Diff line change 11Sentry . init ( {
2- integrations : [
3- Sentry . browserTracingIntegration ( ) ,
4- Sentry . replayIntegration ( ) ,
5- ] ,
6- tracesSampleRate : 1.0 , // Performance monitoring
7- replaysSessionSampleRate : 0.1 , // Record 10% of sessions
8- replaysOnErrorSampleRate : 1.0 , // Always record on error
9- } ) ;
10-
11- // Test error (remove after verification)
12- setTimeout ( ( ) => {
13- myUndefinedFunction ( ) ;
14- } , 2000 ) ;
2+ dsn : "https://3410730c33a0ed28fc51370949258ba8@o4508406269995008.ingest.us.sentry.io/4508406275608576" ,
3+ integrations : [ new Sentry . BrowserTracing ( ) ] ,
4+ tracesSampleRate : 1.0 ,
5+ } ) ;
You can’t perform that action at this time.
0 commit comments