Skip to content

Commit

Permalink
updated title for better grouping in Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
monikasmolarek committed Feb 1, 2024
1 parent ce86cdf commit a94eb98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/common/Feedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ const FeedbackButton = () => {

const formData = {
event_id: captureReactMessage(`
Report: ${userData.title} By: ${userData.name} email: ${userData.email},
User Reported: ${userData.title} By: ${userData.name} email: ${userData.email},
`),
...userData,
};
Expand Down
2 changes: 1 addition & 1 deletion app/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const init = (history) =>
],
async beforeSend(event, hint) {
const isFeedbackFormMessage = (event?.message || '').includes(
'Report: '
'User Reported: '
);

if (!isFeedbackFormMessage) {
Expand Down

0 comments on commit a94eb98

Please sign in to comment.