From 47e9bc39ef79add77a5eec88c671ebe42645cf68 Mon Sep 17 00:00:00 2001 From: Eric Wagoner Date: Mon, 26 Oct 2026 21:30:16 -0400 Subject: [PATCH] The server reports to Sentry: project wyrm exists, its DSN is in the unit file, and the alert script knows the project Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01CCLa2PaEeCj8njQZSWGqHx --- deploy/sentry-slack-alert.sh | 2 +- deploy/wyrm.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/sentry-slack-alert.sh b/deploy/sentry-slack-alert.sh index 8bb1fd3..b2fbde1 100755 --- a/deploy/sentry-slack-alert.sh +++ b/deploy/sentry-slack-alert.sh @@ -22,7 +22,7 @@ AUTH="Authorization: Bearer $SENTRY_TOKEN" SLACK_ID="${SENTRY_SLACK_INTEGRATION:-345334}" : "${SLACK_CHANNEL_ID:?SLACK_CHANNEL_ID=C... is required (the Slack ID of the channel)}" CHANNEL_ID="$SLACK_CHANNEL_ID" -PROJECT_ID="${SENTRY_PROJECT_ID:-__SENTRY_PROJECT_ID__}" +PROJECT_ID="${SENTRY_PROJECT_ID:-4512325594578944}" echo "Slack integration $SLACK_ID; project $PROJECT_ID; channel $CHANNEL ($CHANNEL_ID)" DETECTOR_ID=$(curl -s "$API/detectors/?project=$PROJECT_ID" -H "$AUTH" | python3 -c ' diff --git a/deploy/wyrm.service b/deploy/wyrm.service index fc79d03..5e36823 100644 --- a/deploy/wyrm.service +++ b/deploy/wyrm.service @@ -13,7 +13,7 @@ Environment=KEEPER_TZ=America/New_York Environment=HOST=127.0.0.1 Environment=DATA_DIR=/var/lib/wyrm/rooms # Empty means no error reporting. -Environment=SENTRY_DSN= +Environment=SENTRY_DSN=https://a5e245adb21413c0b22dfa6b7a10f08a@o4509525984149504.ingest.us.sentry.io/4512325594578944 ExecStart=/opt/wyrm/app/server/node_modules/.bin/tsx src/index.ts Restart=always RestartSec=3