diff --git a/backend/files/misc/common-startup-files/create-default-model.hl b/backend/files/misc/common-startup-files/create-default-model.hl index 832eebc683..a0b282b747 100644 --- a/backend/files/misc/common-startup-files/create-default-model.hl +++ b/backend/files/misc/common-startup-files/create-default-model.hl @@ -1,5 +1,5 @@ -// Created the default OpenAI machine learning model. +// Creating the default OpenAI machine learning model. try // Connecting to Magic database. diff --git a/backend/files/system/workflows/actions.get.hl b/backend/files/system/workflows/actions.get.hl index f695a7dfe2..4b56933ab6 100644 --- a/backend/files/system/workflows/actions.get.hl +++ b/backend/files/system/workflows/actions.get.hl @@ -14,8 +14,11 @@ add:x:@.result io.file.list-recursively:/misc/workflows/actions/ // Retrieving all custom actions. -add:x:@.result - io.file.list-recursively:/etc/workflows/actions/ +if + io.folder.exists:/etc/workflows/actions/ + .lambda + add:x:@.result + io.file.list-recursively:/etc/workflows/actions/ // Then iterating through each installed module, and retrieving all module actions. io.folder.list:/modules/ diff --git a/backend/files/system/workflows/workflows.get.hl b/backend/files/system/workflows/workflows.get.hl index 91250a6ca7..19aa3f88d7 100644 --- a/backend/files/system/workflows/workflows.get.hl +++ b/backend/files/system/workflows/workflows.get.hl @@ -14,8 +14,11 @@ add:x:@.result io.file.list-recursively:/misc/workflows/workflows/ // Retrieving all custom workflows. -add:x:@.result - io.file.list-recursively:/etc/workflows/workflows/ +if + io.folder.exists:/etc/workflows/workflows/ + .lambda + add:x:@.result + io.file.list-recursively:/etc/workflows/workflows/ // Then iterating through each installed module, and retrieving all module workflows. io.folder.list:/modules/