From 218345b1fcc51844086d85809b8090c04602b503 Mon Sep 17 00:00:00 2001 From: franz Date: Fri, 29 Sep 2023 10:32:26 +0200 Subject: [PATCH] additional logging --- modules/pool/lib/apr-data-sources/ve-bal-gauge-apr.service.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/pool/lib/apr-data-sources/ve-bal-gauge-apr.service.ts b/modules/pool/lib/apr-data-sources/ve-bal-gauge-apr.service.ts index 6c144ddaf..14c59b35c 100644 --- a/modules/pool/lib/apr-data-sources/ve-bal-gauge-apr.service.ts +++ b/modules/pool/lib/apr-data-sources/ve-bal-gauge-apr.service.ts @@ -91,7 +91,9 @@ export class GaugeAprService implements PoolAprService { const aprItems = rewards .map((reward) => { if (reward.status === 'rejected') { - console.error(`Failed to get reward data for ${gauge.id}: ${reward.reason}`) + console.error( + `Error: Failed to get reward data for ${gauge.id} on chain ${networkContext.chainId}: ${reward.reason}`, + ); return null; }