Skip to content

Commit 916190b

Browse files
committedMar 3, 2025·
fix(validateInput): log schema title
1 parent 297f3ad commit 916190b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎src/validateInput.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ export const validateInput = <Schema extends TSchema>(
5757
input,
5858
errors: formatTypeBoxErrors(maybeValidInput.errors),
5959
}),
60+
schema.title,
6061
)
6162
throw new ValidationFailedError(maybeValidInput.errors)
6263
}
63-
console.debug(`[validateInput]`, `Input valid`)
64+
console.debug(`[validateInput]`, `Input is valid`, schema.title)
6465
req.context.validInput = maybeValidInput.value
6566
return undefined
6667
},

0 commit comments

Comments
 (0)
Please sign in to comment.