diff --git a/internal/biz/gateway/watcher.go b/internal/biz/gateway/watcher.go index 41b847e..30840bd 100644 --- a/internal/biz/gateway/watcher.go +++ b/internal/biz/gateway/watcher.go @@ -5,6 +5,7 @@ import ( "fmt" "github.com/begonia-org/begonia/internal/pkg/config" + "github.com/begonia-org/begonia/internal/pkg/logger" "go.etcd.io/etcd/api/v3/mvccpb" "encoding/json" @@ -35,6 +36,7 @@ func (g *GatewayWatcher) Update(ctx context.Context, key string, value string) e } pd, err := getDescriptorSet(g.config, key, endpoint.DescriptorSet) if err != nil { + logger.Log.Errorf("get descriptor set error: %w", err) return errors.New(err, int32(common.Code_INTERNAL_ERROR), codes.Internal, "get_descriptor_set") } err = deleteAll(ctx, pd)