Skip to content

Commit e1295e8

Browse files
committed
Test sentry error
1 parent 862e623 commit e1295e8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

components/modules/block/BlockOverview.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,10 @@ const handleViewRawTransactions = () => {
343343
cacheStore.current._target = "transactions"
344344
modalsStore.open("rawData")
345345
}
346+
347+
function triggerClientError() {
348+
throw new Error("Nuxt Button Error");
349+
}
346350
</script>
347351
348352
<template>
@@ -362,7 +366,8 @@ const handleViewRawTransactions = () => {
362366
<Text :class="$style.block_nav__txt">Prev</Text>
363367
</Button>
364368
365-
<Button @click="router.push(`/block/${height + 1}`)" type="secondary" size="mini">
369+
<!-- <Button @click="router.push(`/block/${height + 1}`)" type="secondary" size="mini"> -->
370+
<Button @click="triggerClientError" type="secondary" size="mini"></Button>
366371
<Text :class="$style.block_nav__txt">Next</Text>
367372
<Icon name="arrow-redo-right" size="16" color="secondary" />
368373
</Button>

0 commit comments

Comments
 (0)