Skip to content

Commit

Permalink
Initial commit - specialized logging functions for Sentry.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Oct 6, 2023
1 parent 96f26f8 commit 79f87fb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions client/src/utils/sentry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function logSentryEvent(type, id) {
Galaxy.Sentry?.captureMessage(`TEST - HelpMode - ${type} - ${id}`, {
extra: {
sandbox: true,
feature: "HelpMode",
eventType: type,
eventId: id,
},
})
}

0 comments on commit 79f87fb

Please sign in to comment.