Skip to content

Commit b1a3af6

Browse files
authored
Changed the DSN
1 parent 65168b1 commit b1a3af6

9 files changed

Lines changed: 28 additions & 11 deletions

File tree

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ <h2>QR Code Generator</h2>
4242
</body>
4343
</html>
4444

45-
<script src="https://js.sentry-cdn.com/3410730c33a0ed28fc51370949258ba8.min.js" crossorigin="anonymous"></script>
45+
<!-- Sentry Loader -->
46+
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
4647
<script src="js/sentry.js"></script>
4748

4849
<script>

js/sentry.js

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
Sentry.init({
2-
dsn: "https://3410730c33a0ed28fc51370949258ba8@o4508406269995008.ingest.us.sentry.io/4508406275608576",
2+
dsn: "https://c38250fd2a7fdb30e16b4673276ff3de@o4509151884148736.ingest.us.sentry.io/4510038332080128",
33
integrations: [new Sentry.BrowserTracing()],
4-
tracesSampleRate: 1.0,
5-
});
4+
tracesSampleRate: 1.0, // 100% performance data (lower later if too much)
5+
});
6+
7+
// Optional: track page visits
8+
Sentry.addBreadcrumb({
9+
category: "navigation",
10+
message: `Visited ${window.location.pathname}`,
11+
level: "info",
12+
});
13+
14+
// Test error (you can remove later)
15+
setTimeout(() => {
16+
try {
17+
myUndefinedFunction(); // should trigger an error in Sentry
18+
} catch (err) {
19+
Sentry.captureException(err);
20+
}
21+
}, 2000);

tools/calculator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ <h1>Calculator</h1>
4646
</body>
4747
</html>
4848

49-
<script src="https://js.sentry-cdn.com/3410730c33a0ed28fc51370949258ba8.min.js" crossorigin="anonymous"></script>
49+
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
5050
<script src="../js/sentry.js"></script>

tools/clock.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ <h1>🕒 Live Clock</h1>
2525
</body>
2626
</html>
2727

28-
<script src="https://js.sentry-cdn.com/3410730c33a0ed28fc51370949258ba8.min.js" crossorigin="anonymous"></script>
28+
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
2929
<script src="../js/sentry.js"></script>

tools/converter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ <h2>Result: <span id="result">-</span></h2>
4141
</body>
4242
</html>
4343

44-
<script src="https://js.sentry-cdn.com/3410730c33a0ed28fc51370949258ba8.min.js" crossorigin="anonymous"></script>
44+
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
4545
<script src="../js/sentry.js"></script>

tools/countdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ <h1>⏱ Countdown Timer</h1>
6060
</body>
6161
</html>
6262

63-
<script src="https://js.sentry-cdn.com/3410730c33a0ed28fc51370949258ba8.min.js" crossorigin="anonymous"></script>
63+
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
6464
<script src="../js/sentry.js"></script>

tools/password.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ <h1>Password Generator</h1>
4040
</body>
4141
</html>
4242

43-
<script src="https://js.sentry-cdn.com/3410730c33a0ed28fc51370949258ba8.min.js" crossorigin="anonymous"></script>
43+
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
4444
<script src="../js/sentry.js"></script>

tools/qr.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ <h1>QR Code Generator</h1>
3636
</body>
3737
</html>
3838

39-
<script src="https://js.sentry-cdn.com/3410730c33a0ed28fc51370949258ba8.min.js" crossorigin="anonymous"></script>
39+
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
4040
<script src="../js/sentry.js"></script>

tools/timestamp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ <h2>Date ➝ Timestamp</h2>
3636
</body>
3737
</html>
3838

39-
<script src="https://js.sentry-cdn.com/3410730c33a0ed28fc51370949258ba8.min.js" crossorigin="anonymous"></script>
39+
<script src="https://js.sentry-cdn.com/c38250fd2a7fdb30e16b4673276ff3de.min.js" crossorigin="anonymous"></script>
4040
<script src="../js/sentry.js"></script>

0 commit comments

Comments
 (0)