Skip to content

Commit 0147b5d

Browse files
committed
refactor
1 parent 19652a7 commit 0147b5d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/api/event_handlers.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"encoding/hex"
88
"errors"
99
"fmt"
10-
"github.com/labstack/gommon/log"
1110
"go.uber.org/zap"
1211
"golang.org/x/exp/slices"
1312
"net/http"
@@ -233,7 +232,7 @@ func (h *Handler) GetAccountEvents(ctx context.Context, params oas.GetAccountEve
233232
}
234233
isBannedTraces, err = h.spamFilter.GetEventsScamData(ctx, eventIDs)
235234
if err != nil {
236-
log.Warn("error getting events spam data", zap.Error(err))
235+
h.logger.Warn("error getting events spam data", zap.Error(err))
237236
}
238237
}()
239238

0 commit comments

Comments
 (0)