refactor: Restructure workers to work with services
This commit is contained in:
@@ -23,7 +23,7 @@ const executeFlow = async (
|
||||
status: 'completed',
|
||||
});
|
||||
|
||||
if (executionStep.errorDetails) {
|
||||
if (executionStep.isFailed) {
|
||||
throw new Error(JSON.stringify(executionStep.errorDetails));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user