From 51c34870c2d9af2ce5ba0238396c35b4a9c1af18 Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Mon, 3 Oct 2022 11:40:33 +0200 Subject: [PATCH] fix(sentry-mattermost): fix message --- functions/sentry-mattermost/function.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/sentry-mattermost/function.js b/functions/sentry-mattermost/function.js index 8f1152a..784aa40 100644 --- a/functions/sentry-mattermost/function.js +++ b/functions/sentry-mattermost/function.js @@ -21,7 +21,7 @@ ${ : "" } -url : ${event.request.url} +${event.request ? `url : ${event.request.url}` : ""} [See details in sentry](${event.web_url}) `;