Feedback update. Console.error to logging.logalert
This commit is contained in:
parent
f24e511a63
commit
b0ff61c9ec
|
@ -1,5 +1,6 @@
|
||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
import { FieldTypes } from "../../constants"
|
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.
|
* 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 {
|
try {
|
||||||
result = JSON.parse(attachments)
|
result = JSON.parse(attachments)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Could not parse attachments", e)
|
logging.logAlert("Could not parse attachments", e)
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue