chore: log zod issues, not zod error

This commit is contained in:
Miodec 2024-08-14 14:06:29 +02:00
parent b50701ee2a
commit b162e3ada1

View file

@ -45,7 +45,7 @@ export class LocalStorageWithSchema<T> {
console.log(
`Value from localStorage ${this.key} failed schema validation, migrating`,
schemaParsed.error
schemaParsed.error.issues
);
let newValue = this.fallback;