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

Commit

Permalink
fix: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Oct 5, 2022
1 parent b238192 commit e60af4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions functions/sentry-mattermost/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const forwardSentryEvent = (payload, channel) => {
console.log(JSON.stringify(payload));
const event = payload.data ? payload.data.event : payload.event;
const markdown = `
:warning: ${payload.project ? `**${payload.project}**` : ``} **${
event.title
}** ${event.environment ? `[${event.environment}]` : ``}
:warning: ${
event.extra && event.extra.namespace ? `**${event.extra.namespace}**` : ``
} **${event.title}** ${event.environment ? `[${event.environment}]` : ``}
${payload.culprit || ""}
Expand Down

0 comments on commit e60af4e

Please sign in to comment.