Skip to content

Commit 58a7403

Browse files
betegonclaude
andcommitted
fix(init): use valid placeholder URLs in dry-run mode
The server validates DSN and URL fields with z.string().url(). The previous placeholders "(dry-run)" failed Zod validation, breaking dry-run after the create-sentry-project step. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a9bf1de commit 58a7403

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/init/local-ops.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,8 +878,8 @@ async function createSentryProject(
878878
orgSlug: options.org ?? "(dry-run)",
879879
projectSlug: slug,
880880
projectId: "(dry-run)",
881-
dsn: "(dry-run)",
882-
url: "(dry-run)",
881+
dsn: "https://key@o0.ingest.sentry.io/0",
882+
url: "https://sentry.io/dry-run",
883883
},
884884
};
885885
}

0 commit comments

Comments
 (0)