Stringify path error (#4379)
This commit is contained in:
parent
3d4b390a8a
commit
a4ca4db35c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue