Skip to content

Commit cafc942

Browse files
committed
Don't throw error on parse issue
1 parent 5b78a81 commit cafc942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/result/GenericResultView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export function GenericResultView({
131131
.parse(result[field])
132132
)
133133
} catch (e) {
134-
console.error(`Parsing field ${field} failed`, e)
134+
console.warn(`Parsing field ${field} failed`, e)
135135
return undefined
136136
}
137137
},
@@ -150,7 +150,7 @@ export function GenericResultView({
150150
.parse(result[field])
151151
)
152152
} catch (e) {
153-
console.error(`Parsing array field ${field} failed`, e)
153+
console.warn(`Parsing array field ${field} failed`, e)
154154
return []
155155
}
156156
},

0 commit comments

Comments
 (0)