From f027cabdf3cb641e5e0cee65ff1a20f7585a521e Mon Sep 17 00:00:00 2001 From: amhsirak Date: Tue, 19 Nov 2024 16:57:42 +0530 Subject: [PATCH] feat: clearer error log --- server/src/api/record.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/api/record.ts b/server/src/api/record.ts index 573a8edb..b956b19c 100644 --- a/server/src/api/record.ts +++ b/server/src/api/record.ts @@ -495,7 +495,7 @@ async function createWorkflowAndStoreMetadata(id: string, userId: string) { } catch (e) { const { message } = e as Error; logger.log('info', `Error while scheduling a run with id: ${id}`); - console.log(message); + console.log(`Error scheduling run:`, message); return { success: false, error: message,