Skip to content

Commit

Permalink
additional logging
Browse files Browse the repository at this point in the history
  • Loading branch information
franzns committed Sep 29, 2023
1 parent 1b980c7 commit 218345b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 218345b

Please sign in to comment.