We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6742c4 commit 51550a4Copy full SHA for 51550a4
1 file changed
workspaces/scorecard/plugins/scorecard-backend/src/scheduler/tasks/PullMetricsByProviderTask.ts
@@ -181,6 +181,12 @@ export class PullMetricsByProviderTask implements SchedulerTask {
181
} catch (error) {
182
// status is intentionally omitted — a calculation failure produces a NULL status
183
// in the database, which sorts last when sortBy=status is used
184
+ logger.warn(
185
+ `Failed to calculate metric for entity ${stringifyEntityRef(
186
+ entity,
187
+ )}: ${error}`,
188
+ error instanceof Error ? error : undefined,
189
+ );
190
return {
191
catalog_entity_ref: stringifyEntityRef(entity),
192
metric_id: this.providerId,
0 commit comments