From 9de208ff6dfb8e62dac215ca2fc04000bb539ea3 Mon Sep 17 00:00:00 2001 From: mertmit Date: Sat, 9 Mar 2024 07:10:47 +0000 Subject: [PATCH] fix: missing catch for asynchronous op --- .../src/modules/jobs/jobs/export-import/export.service.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts b/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts index 7c810c4a2b..d69c9275f2 100644 --- a/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts +++ b/packages/nocodb/src/modules/jobs/jobs/export-import/export.service.ts @@ -633,7 +633,9 @@ export class ExportService { offset + limit, limit, fields, - ).then(resolve); + ) + .then(resolve) + .catch(reject); } } catch (e) { reject(e);