We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e39ff7a commit a9fc034Copy full SHA for a9fc034
1 file changed
src/views/ListView.vue
@@ -1,4 +1,5 @@
1
<script setup lang="ts">
2
+import * as Sentry from '@sentry/vue';
3
import { inject, ref, watch } from 'vue';
4
import { useRoute, useRouter } from 'vue-router';
5
@@ -57,6 +58,9 @@ const fetchEntities = async () => {
57
58
} catch (e) {
59
const err = e as Error;
60
errorDialogText.value = err.message;
61
+ if (ui.sentry?.dsn) {
62
+ Sentry.captureException(err);
63
+ }
64
}
65
66
loading.value = false;
0 commit comments