From 806dc05a6fc8e0591cd34f4581abfb8746a57ce8 Mon Sep 17 00:00:00 2001 From: affan Date: Tue, 1 Oct 2024 12:25:41 -0400 Subject: [PATCH] fix other log --- protocol/x/affiliates/abci.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/protocol/x/affiliates/abci.go b/protocol/x/affiliates/abci.go index ccffe2ff8e..90063b492f 100644 --- a/protocol/x/affiliates/abci.go +++ b/protocol/x/affiliates/abci.go @@ -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" @@ -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) } }