Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #81 from js361014/show-event-transaction
Browse files Browse the repository at this point in the history
Show event transaction name
  • Loading branch information
butschster committed Jul 24, 2022
2 parents 2b45d6b + c1fcc40 commit 9437dd1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
15 changes: 11 additions & 4 deletions resources/js/Components/Sentry/Payloads/Exception.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
<template>
<div class="sentry-exception">
<Link as="div" :href="event.route.show" class="sentry-exception__link">
<h3 class="sentry-exception__title">
{{ event.payload.type }}
</h3>
<div class="sentry-exception__text">
<span class="float-left">
<h3 class="sentry-exception__title">
{{ event.payload.type }}
</h3>
</span>
<span class="float-left margin-space-10">
<h6>
{{ event.transactionName }}
</h6>
</span>
<div class="sentry-exception__text clear-both">
{{ event.payload.value }}
</div>
</Link>
Expand Down
4 changes: 4 additions & 0 deletions resources/js/Event.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export class Event {
}
}

get transactionName() {
return this.event.transaction
}

get serverName() {
return 'unknown'
}
Expand Down
4 changes: 4 additions & 0 deletions resources/scss/components/events/list-page/event-sentry.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@
@apply text-gray-100;
}
}

.margin-space-10 {
margin-left: 10px;
}

0 comments on commit 9437dd1

Please sign in to comment.