diff --git a/resources/js/Components/Sentry/Show/Exception.vue b/resources/js/Components/Sentry/Show/Exception.vue new file mode 100644 index 0000000..c8e7bd0 --- /dev/null +++ b/resources/js/Components/Sentry/Show/Exception.vue @@ -0,0 +1,24 @@ + + + diff --git a/resources/js/Components/Sentry/Show/Exceptions.vue b/resources/js/Components/Sentry/Show/Exceptions.vue new file mode 100644 index 0000000..dbd0aee --- /dev/null +++ b/resources/js/Components/Sentry/Show/Exceptions.vue @@ -0,0 +1,20 @@ + + + diff --git a/resources/js/Pages/Sentry/Show.vue b/resources/js/Pages/Sentry/Show.vue index f0bfd50..1eee659 100644 --- a/resources/js/Pages/Sentry/Show.vue +++ b/resources/js/Pages/Sentry/Show.vue @@ -28,19 +28,7 @@ -
-

exception

- -

- {{ event.payload.type }} -

-
- {{ event.payload.value }} -
-
- -
-
+ @@ -58,10 +46,12 @@ import File from "@/Components/Sentry/UI/File"; import Tags from "@/Components/Sentry/Show/Tags"; import Breadcrumbs from "@/Components/Sentry/Show/Breadcrumbs"; import Request from "@/Components/Sentry/Show/Request"; +import Exceptions from "@/Components/Sentry/Show/Exceptions"; export default { components: { MainLayout, Link, File, Tags, Breadcrumbs, Request, + Exceptions }, setup() { const store = useStore(); diff --git a/resources/js/Sentry/event.js b/resources/js/Sentry/event.js index 4d725b8..e4913b8 100644 --- a/resources/js/Sentry/event.js +++ b/resources/js/Sentry/event.js @@ -62,6 +62,10 @@ export default class extends Event { return this._stacktrace } + get exceptions() { + return this.event.exception.values || [] + } + get breadcrumbs() { return this.event.breadcrumbs.values || [] }