Stringify path error (#4379)
parent
3d4b390a8a
commit
a4ca4db35c
|
@ -28,7 +28,7 @@ export async function read(): Promise<Schema | undefined> {
|
||||||
code: e.code,
|
code: e.code,
|
||||||
// @ts-ignore exists on some types
|
// @ts-ignore exists on some types
|
||||||
expected: e?.expected,
|
expected: e?.expected,
|
||||||
path: e.path,
|
path: e.path?.join('.'),
|
||||||
})) || []
|
})) || []
|
||||||
logger.error(`persisted store: data failed validation on read`, {errors})
|
logger.error(`persisted store: data failed validation on read`, {errors})
|
||||||
return undefined
|
return undefined
|
||||||
|
|
Loading…
Reference in New Issue