diff --git a/packages/backend-core/src/redis/utils.js b/packages/backend-core/src/redis/utils.js index 90ea5c33f9..033a9bf0cf 100644 --- a/packages/backend-core/src/redis/utils.js +++ b/packages/backend-core/src/redis/utils.js @@ -19,6 +19,7 @@ exports.Databases = { QUERY_VARS: "queryVars", LICENSES: "license", GENERIC_CACHE: "data_cache", + AUTOMATION_LOGS: "autoLogs", } exports.SEPARATOR = SEPARATOR diff --git a/packages/builder/src/components/automation/AutomationBuilder/TestDisplay.svelte b/packages/builder/src/components/automation/AutomationBuilder/TestDisplay.svelte index 41b9d59e4a..e8bcc2e349 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/TestDisplay.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/TestDisplay.svelte @@ -13,6 +13,13 @@ return results.steps.filter(x => x.stepId !== "LOOP" || []) } + function textArea(results, message) { + if (!results) { + return message + } + return JSON.stringify(results, null, 2) + } + $: filteredResults = prepTestResults(testResults) $: { @@ -66,11 +73,7 @@