From 4f843671c111d2fd759e316b0d56823d754f9511 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 05:18:17 +0000 Subject: [PATCH] feat: Updated packages/workflow/src/Expression.ts --- packages/workflow/src/Expression.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/workflow/src/Expression.ts b/packages/workflow/src/Expression.ts index c653422308e44..0b7fc7fa8c9ac 100644 --- a/packages/workflow/src/Expression.ts +++ b/packages/workflow/src/Expression.ts @@ -86,8 +86,8 @@ export class Expression { } } return returnValue; - } catch (e) { - throw new Error(`Expression is not valid: ${e.message}`); + } catch (e: any) { + throw new Error(`Expression is not valid: ${(e as any).message}`); } }