Format zodError so we don't try to sanitize functions
This commit is contained in:
committed by
Michael Zetterberg
parent
e38b2931d3
commit
a0bef340e9
@@ -235,7 +235,7 @@ export function createCounter(meterName: string, counterName: string) {
|
||||
baseAttrs,
|
||||
{
|
||||
error_type: "validation_error",
|
||||
error: zodError,
|
||||
error: zodError.format(),
|
||||
},
|
||||
])
|
||||
const finalAttrs = sanitize(mergedAttrs)
|
||||
|
||||
Reference in New Issue
Block a user