PR feedback

This commit is contained in:
Dean 2024-07-04 15:19:56 +01:00
parent a4a472b2d8
commit 3a1a600b91
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import emitter from "../events/index"
import { getAutomationParams, isDevAppID } from "../db/utils" import { getAutomationParams, isDevAppID } from "../db/utils"
import { coerce } from "../utilities/rowProcessor" import { coerce } from "../utilities/rowProcessor"
import { definitions } from "./triggerInfo" import { definitions } from "./triggerInfo"
import { logging } from "@budibase/backend-core"
// need this to call directly, so we can get a response // need this to call directly, so we can get a response
import { automationQueue } from "./bullboard" import { automationQueue } from "./bullboard"
import { checkTestFlag } from "../utilities/redis" import { checkTestFlag } from "../utilities/redis"
@ -69,7 +70,7 @@ async function queueRelevantRowAutomations(
try { try {
await automationQueue.add({ automation, event }, JOB_OPTS) await automationQueue.add({ automation, event }, JOB_OPTS)
} catch (e) { } catch (e) {
console.error("Failed to queue automation", e) logging.logAlert("Failed to queue automation", e)
} }
} }
} }