1
0
Fork 0
mirror of synced 2024-07-27 00:55:50 +12:00

Feedback update. Console.error to logging.logalert

This commit is contained in:
Dean 2023-05-05 09:24:57 +01:00
parent f24e511a63
commit b0ff61c9ec

View file

@ -1,5 +1,6 @@
// @ts-nocheck
import { FieldTypes } from "../../constants"
import { logging } from "@budibase/backend-core"
/**
* A map of how we convert various properties in rows to each other based on the row type.
@ -78,7 +79,7 @@ export const TYPE_TRANSFORM_MAP: any = {
try {
result = JSON.parse(attachments)
} catch (e) {
console.error("Could not parse attachments", e)
logging.logAlert("Could not parse attachments", e)
}
return result
}