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 { coerce } from "../utilities/rowProcessor"
import { definitions } from "./triggerInfo"
import { logging } from "@budibase/backend-core"
// need this to call directly, so we can get a response
import { automationQueue } from "./bullboard"
import { checkTestFlag } from "../utilities/redis"
@ -69,7 +70,7 @@ async function queueRelevantRowAutomations(
try {
await automationQueue.add({ automation, event }, JOB_OPTS)
} catch (e) {
console.error("Failed to queue automation", e)
logging.logAlert("Failed to queue automation", e)
}
}
}