Stringify path error (#4379)

zio/stable
Eric Bailey 2024-06-11 16:54:47 -05:00 committed by GitHub
parent 3d4b390a8a
commit a4ca4db35c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export async function read(): Promise<Schema | undefined> {
code: e.code,
// @ts-ignore exists on some types
expected: e?.expected,
path: e.path,
path: e.path?.join('.'),
})) || []
logger.error(`persisted store: data failed validation on read`, {errors})
return undefined