Skip to content

Commit

Permalink
fix: improve logging in batches
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsower committed Aug 8, 2024
1 parent 70dc284 commit a389d59
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/services/liquidate/BatchLiquidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,13 @@ export default class BatchLiquidator
i => i.creditAccount === r.creditAccount.toLowerCase(),
);
this.logger.debug(
{ executed: r.executed, pathFound: r.pathFound, input },
{
account: r.creditAccount,
executed: r.executed,
pathFound: r.pathFound,
calls: r.calls,
input,
},
`estimation for account ${r.creditAccount}`,
);
if (r.executed) {
Expand Down

0 comments on commit a389d59

Please sign in to comment.