Browse Source

fix: log errors to instance

pull/7502/head
mertmit 10 months ago
parent
commit
2e26c8acc5
  1. 2
      packages/nocodb/src/modules/jobs/jobs/at-import/helpers/readAndProcessData.ts

2
packages/nocodb/src/modules/jobs/jobs/at-import/helpers/readAndProcessData.ts

@ -166,6 +166,7 @@ export async function importData({
logDetailed, logDetailed,
logWarning, logWarning,
}).catch((e) => { }).catch((e) => {
logger.error(e);
logWarning(`There were errors on reading '${table.title}' data :: ${e}`); logWarning(`There were errors on reading '${table.title}' data :: ${e}`);
}); });
@ -187,6 +188,7 @@ export async function importData({
logDetailed, logDetailed,
logWarning, logWarning,
}).catch((e) => { }).catch((e) => {
logger.error(e);
logWarning( logWarning(
`There were errors on importing '${table.title}' LTAR data :: ${e}`, `There were errors on importing '${table.title}' LTAR data :: ${e}`,
); );

Loading…
Cancel
Save