Skip to content

Commit 84aac84

Browse files
committed
makerBidAskTwapCrank: log market index
1 parent 058f057 commit 84aac84

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bots/makerBidAskTwapCrank.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,11 @@ export class MakerBidAskTwapCrank implements Bot {
390390
simResult.simError
391391
)}\n${simResult.simTxLogs ? simResult.simTxLogs.join('\n') : ''}`
392392
);
393-
handleSimResultError(simResult, [], `[${this.name}]`);
393+
handleSimResultError(
394+
simResult,
395+
[],
396+
`[${this.name}] (market: ${marketIndex})`
397+
);
394398
return;
395399
} else {
396400
return simResult.tx;

0 commit comments

Comments
 (0)