Refine error hint for unbound corps in replay-test
This commit is contained in:
1 parent
35720fa36a
commit
35a3374d27
2 files changed
+4
-2
No files matched your search
@@ -792,7 +792,8 @@ export async function handleCorpsCommand(action: string | undefined, maybeName:
|
||||
if (!prodCorp.testCorpId) {
|
||||
throw usageError(
|
||||
`Production enterprise '${prodCorp.name}' (${prodCorp.id}) has no bound test enterprise.\n` +
|
||||
`Run 'seal-use corps bind-test ${prodCorp.id} <testCorpId> --confirm' first to establish a verified 1-to-1 association.`
|
||||
`Run 'seal-use corps bind-test ${prodCorp.id} <testCorpId> --confirm' first to establish a verified 1-to-1 association,\n` +
|
||||
`or use 'seal-use webhook replay <recordId> --force' if you explicitly intend to replay directly within production.`
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user