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
1 changed files with 2 additions and 1 deletions

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
}