Merge pull request #10983 from Budibase/fix/budi-7035
Remove coercion failure logging
This commit is contained in:
commit
a0b0570df9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue