From 2a93aa9905897490581609142cfd1bd3eff32edd Mon Sep 17 00:00:00 2001 From: franz Date: Mon, 4 Dec 2023 13:03:52 +0100 Subject: [PATCH] more logs for voting gauges --- modules/vebal/voting-gauges.repository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/vebal/voting-gauges.repository.ts b/modules/vebal/voting-gauges.repository.ts index cd252b8f9..347932c17 100644 --- a/modules/vebal/voting-gauges.repository.ts +++ b/modules/vebal/voting-gauges.repository.ts @@ -128,7 +128,7 @@ export class VotingGaugesRepository { await this.saveVotingGauge(gauge); return gauge; } catch (error) { - saveErrors.push(error as Error); + saveErrors.push(new Error(`Failed to save voting gauge ${gauge.gaugeAddress} with error ${error}`)); return gauge; } }),