Skip to content

Commit

Permalink
change error to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Feb 9, 2023
1 parent 50c99fc commit a7d7f5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal_transfers/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ export const triggerInternalTransfersPipeline: ActionFn = async (
transactionEvent.logs
);
if (settlements.length > 1) {
console.error(`Two settlements in same batch ${txHash}!`);
console.warn(`Two settlements in same batch ${txHash}!`);
// TODO - alert team that such a batch has taken place!
// cf https://github.com/cowprotocol/solver-rewards/issues/187
}

console.log(`Parsed ${transfers.length} (relevant) transfer events`);
console.log(`Parsed ${trades.length} trade events`);
};

0 comments on commit a7d7f5d

Please sign in to comment.