Skip to content

Commit d6de001

Browse files
committed
Rm tests
1 parent 9ffcfde commit d6de001

File tree

4 files changed

+2
-51
lines changed

4 files changed

+2
-51
lines changed

components/modules/block/BlockOverview.vue

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script setup>
22
/** Vendor */
3-
import * as Sentry from "@sentry/nuxt";
43
import { DateTime } from "luxon"
54
65
/** UI */
@@ -344,13 +343,6 @@ const handleViewRawTransactions = () => {
344343
cacheStore.current._target = "transactions"
345344
modalsStore.open("rawData")
346345
}
347-
348-
function name123() {
349-
Sentry.captureException(new Error("Test Sentry direct capture"));
350-
}
351-
function triggerClientError() {
352-
throw new Error("Nuxt Button Error")
353-
}
354346
</script>
355347
356348
<template>
@@ -365,14 +357,12 @@ function triggerClientError() {
365357
</Flex>
366358
367359
<Flex align="center" gap="8">
368-
<!-- <Button @click="router.push(`/block/${height - 1}`)" type="secondary" size="mini" :disabled="height === 0"> -->
369-
<Button @click="name123" type="secondary" size="mini" :disabled="height === 0">
360+
<Button @click="router.push(`/block/${height - 1}`)" type="secondary" size="mini" :disabled="height === 0">
370361
<Icon name="arrow-redo-right" size="16" color="secondary" :style="{ transform: 'scaleX(-1)' }" />
371362
<Text :class="$style.block_nav__txt">Prev</Text>
372363
</Button>
373364
374-
<!-- <Button @click="router.push(`/block/${height + 1}`)" type="secondary" size="mini"> -->
375-
<Button @click="triggerClientError" type="secondary" size="mini">
365+
<Button @click="router.push(`/block/${height + 1}`)" type="secondary" size="mini">
376366
<Text :class="$style.block_nav__txt">Next</Text>
377367
<Icon name="arrow-redo-right" size="16" color="secondary" />
378368
</Button>

sentry.client.config.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,8 @@
1-
// import * as Sentry from "@sentry/nuxt";
2-
3-
// Sentry.init({
4-
// dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
5-
6-
// sendDefaultPii: true,
7-
8-
// integrations: [
9-
// Sentry.replayIntegration(),
10-
// Sentry.feedbackIntegration({
11-
// colorScheme: "system",
12-
// }),
13-
// ],
14-
15-
// tracesSampleRate: 1.0,
16-
17-
// replaysSessionSampleRate: 0.1,
18-
// replaysOnErrorSampleRate: 1.0,
19-
// enableLogs: true,
20-
// });
21-
221
import * as Sentry from "@sentry/nuxt";
232

243
const config = useRuntimeConfig();
254
const sentryConfig = (config.public.sentry as { dsn: string });
265

27-
console.log("[SENTRY DSN CLIENT]", sentryConfig.dsn);
28-
296
Sentry.init({
307
dsn: sentryConfig.dsn,
318

sentry.server.config.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
// import * as Sentry from "@sentry/nuxt";
2-
3-
// Sentry.init({
4-
// dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
5-
6-
// tracesSampleRate: 1.0,
7-
8-
// enableLogs: true,
9-
// });
10-
111
import * as Sentry from "@sentry/nuxt";
122

133
const config = useRuntimeConfig();
144
const sentryConfig = config.public.sentry as { dsn: string };
155

16-
console.log("[SENTRY DSN SERVER]", sentryConfig.dsn);
17-
186
Sentry.init({
197
dsn: sentryConfig.dsn,
208
tracesSampleRate: 1.0,

server/api/test-sentry.get.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)