From 2e26c8acc5fb5ca90bbdf114988b7d37a2d91424 Mon Sep 17 00:00:00 2001 From: mertmit Date: Fri, 26 Jan 2024 08:13:25 +0000 Subject: [PATCH] fix: log errors to instance --- .../modules/jobs/jobs/at-import/helpers/readAndProcessData.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nocodb/src/modules/jobs/jobs/at-import/helpers/readAndProcessData.ts b/packages/nocodb/src/modules/jobs/jobs/at-import/helpers/readAndProcessData.ts index 4e697ac531..03655dbb4f 100644 --- a/packages/nocodb/src/modules/jobs/jobs/at-import/helpers/readAndProcessData.ts +++ b/packages/nocodb/src/modules/jobs/jobs/at-import/helpers/readAndProcessData.ts @@ -166,6 +166,7 @@ export async function importData({ logDetailed, logWarning, }).catch((e) => { + logger.error(e); logWarning(`There were errors on reading '${table.title}' data :: ${e}`); }); @@ -187,6 +188,7 @@ export async function importData({ logDetailed, logWarning, }).catch((e) => { + logger.error(e); logWarning( `There were errors on importing '${table.title}' LTAR data :: ${e}`, );