Skip to content

Commit

Permalink
Update master
Browse files Browse the repository at this point in the history
  • Loading branch information
aHenryJard committed Jan 24, 2025
1 parent adb8cf9 commit 27a7f9e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ const rssExecutor = async (context: AuthContext, turndownService: TurndownServic
}
}
// In case of error we need also to take in account the min_interval_minutes with last_execution_date update.
patchRssIngestion(context, SYSTEM_USER, ingestion.internal_id, { last_execution_date: now() });
patchRssIngestion(context, SYSTEM_USER, ingestion.internal_id, { last_execution_date: now() }).catch((reason) => logApp.error('ERROR', { cause: reason }));

Check warning on line 292 in opencti-platform/opencti-graphql/src/manager/ingestionManager.ts

View check run for this annotation

Codecov / codecov/patch

opencti-platform/opencti-graphql/src/manager/ingestionManager.ts#L292

Added line #L292 was not covered by tests
});
ingestionPromises.push(ingestionPromise);
} else {
Expand Down Expand Up @@ -554,7 +554,7 @@ const csvExecutor = async (context: AuthContext) => {
.catch((e) => {
logApp.warn('[OPENCTI-MODULE] INGESTION - CSV ingestion execution', { cause: e, name: ingestion.name });
// In case of error we need also to take in account the min_interval_minutes with last_execution_date update.
patchCsvIngestion(context, SYSTEM_USER, ingestion.internal_id, { last_execution_date: now() });
patchCsvIngestion(context, SYSTEM_USER, ingestion.internal_id, { last_execution_date: now() }).catch((reason) => logApp.error('ERROR', { cause: reason }));

Check warning on line 557 in opencti-platform/opencti-graphql/src/manager/ingestionManager.ts

View check run for this annotation

Codecov / codecov/patch

opencti-platform/opencti-graphql/src/manager/ingestionManager.ts#L557

Added line #L557 was not covered by tests
});
ingestionPromises.push(ingestionPromise);
} else {
Expand Down

0 comments on commit 27a7f9e

Please sign in to comment.