Feedback update. Console.error to logging.logalert
This commit is contained in:
parent
f24e511a63
commit
b0ff61c9ec
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue