Skip to content

Commit

Permalink
fix other log
Browse files Browse the repository at this point in the history
  • Loading branch information
affanv14 committed Oct 1, 2024
1 parent e119f42 commit 806dc05
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions protocol/x/affiliates/abci.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package affiliates

import (
"runtime/debug"

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/dydxprotocol/v4-chain/protocol/lib/log"
"github.com/dydxprotocol/v4-chain/protocol/x/affiliates/keeper"
Expand All @@ -13,7 +11,6 @@ func EndBlocker(
keeper *keeper.Keeper,
) {
if err := keeper.AggregateAffiliateReferredVolumeForFills(ctx); err != nil {
log.ErrorLog(ctx, "error aggregating affiliate volume for fills", "error",
err, "stack", string(debug.Stack()))
log.ErrorLogWithError(ctx, "error aggregating affiliate volume for fills", err)
}
}

0 comments on commit 806dc05

Please sign in to comment.