From db043fe1a25277199fb036e5d5a8dcd0c991d5fc Mon Sep 17 00:00:00 2001 From: tyler <48813565+technicallyty@users.noreply.github.com> Date: Sun, 12 Jan 2025 17:11:30 -0800 Subject: [PATCH] remove unncessary error check --- server/v2/api/grpcgateway/interceptor.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/v2/api/grpcgateway/interceptor.go b/server/v2/api/grpcgateway/interceptor.go index 6b767fd77806..84daca423fb4 100644 --- a/server/v2/api/grpcgateway/interceptor.go +++ b/server/v2/api/grpcgateway/interceptor.go @@ -59,9 +59,6 @@ func newGatewayInterceptor[T transaction.Tx](logger log.Logger, gateway *runtime } // convert the mapping to regular expressions for URL matching. wildcardMatchers, simpleMatchers := createRegexMapping(logger, getMapping) - if err != nil { - return nil, err - } matcher := uriMatcher{ wildcardURIMatchers: wildcardMatchers, simpleMatchers: simpleMatchers,