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}) `;