Skip to content

Commit

Permalink
CR's fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-scherbina committed Oct 11, 2023
1 parent 90b88b9 commit 7f6dfb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/cachemdw/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ func (c *ServiceCache) Middleware(
req := r.Context().Value(c.decodedRequestContextKey)
decodedReq, ok := (req).(*decode.EVMRPCRequestEnvelope)
if !ok {
c.Logger.Error().Msg("can't cast request to *EVMRPCRequestEnvelope type")

next.ServeHTTP(w, r.WithContext(uncachedContext))
return
}
Expand Down

0 comments on commit 7f6dfb0

Please sign in to comment.