diff --git a/e2e/tests/api-driven/src/demo-workspace/helper.ts b/e2e/tests/api-driven/src/demo-workspace/helper.ts index f18a32a07b..08384518f3 100644 --- a/e2e/tests/api-driven/src/demo-workspace/helper.ts +++ b/e2e/tests/api-driven/src/demo-workspace/helper.ts @@ -87,8 +87,8 @@ export const createFlowFromArray = async ( slug: flow.slug, }); return flowId; - } catch (error: any) { - console.error(`Error adding flow ${flow.slug}`, error.message); + } catch (error) { + console.error(`Error adding flow ${flow.slug}`, error); return false; } };