Merge pull request #7475 from backstage/rugvip/nologthro

catalog-backend: avoid duplicate logging of catalog processing errors
This commit is contained in:
Patrik Oldsberg
2021-10-06 16:44:50 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Avoid duplicate logging of entity processing errors.
@@ -160,7 +160,6 @@ export class DefaultCatalogProcessingOrchestrator
ok: collectorResults.errors.length === 0,
};
} catch (error) {
this.options.logger.warn(error.message);
return {
ok: false,
errors: collector.results().errors.concat(error),