1
0
Fork 0
mirror of synced 2024-07-19 21:26:22 +12:00

Removing logging of error in coercion - this was creating noise in errors channel.

This commit is contained in:
Michael Drury 2023-06-21 12:07:46 +01:00
parent 5c14712c7f
commit e1741937ae

View file

@ -1,6 +1,5 @@
// @ts-nocheck // @ts-nocheck
import { FieldTypes } from "../../constants" import { FieldTypes } from "../../constants"
import { logging } from "@budibase/backend-core"
const parseArrayString = value => { const parseArrayString = value => {
if (typeof value === "string") { if (typeof value === "string") {
@ -12,7 +11,7 @@ const parseArrayString = value => {
result = JSON.parse(value.replace(/'/g, '"')) result = JSON.parse(value.replace(/'/g, '"'))
return result return result
} catch (e) { } catch (e) {
logging.logWarn("Could not parse row value", e) return value
} }
} }
return value return value