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 3, 2022
1 parent 0da84f3 commit b502adf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/sentry-mattermost/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const queryString = require("query-string");
const MATTERMOST_WEBHOOK_URL = process.env.MATTERMOST_WEBHOOK_URL;

const forwardSentryEvent = (payload, channel) => {
console.log(JSON.stringify(payload));
const event = payload.data.event;
const markdown = `
:warning: **${event.title}** [${event.environment}]
Expand Down

0 comments on commit b502adf

Please sign in to comment.