diff --git a/packages/forms/src/submission.ts b/packages/forms/src/submission.ts index c1e210be5..f1f220b1d 100644 --- a/packages/forms/src/submission.ts +++ b/packages/forms/src/submission.ts @@ -75,9 +75,7 @@ export class SubmissionRegistry { } const pattern = getPattern(form, result.data.patternId); if (pattern === undefined) { - return failure( - `asdfPattern with id ${result.data.patternId} does not exist` - ); + return failure(`Pattern with id ${result.data.patternId} does not exist`); } return success({ handler,