const body = process.env.GITHUB_ISSUE_BODY; const SENTRY_AUTH_TOKEN = process.env.SENTRY_AUTH_TOKEN; if (!body || !SENTRY_AUTH_TOKEN) { throw new Error("Missing environment variables"); } const id = body.indexOf("", id + 1); if (!(id > -1 && endIdLine > -1)) { throw new Error("Missing sentry_id"); } const sentryId = body.slice(id + "