catalog: Consider processing results with errors as failing
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com> Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com> Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -157,7 +157,7 @@ export class DefaultCatalogProcessingOrchestrator
|
||||
...collectorResults,
|
||||
completedEntity: entity,
|
||||
state: { cache: cache.collect() },
|
||||
ok: true,
|
||||
ok: collectorResults.errors.length === 0,
|
||||
};
|
||||
} catch (error) {
|
||||
this.options.logger.warn(error.message);
|
||||
|
||||
Reference in New Issue
Block a user