From f8a307cc8f2dff6359506c1ddad2e2b1e64c8955 Mon Sep 17 00:00:00 2001 From: Cody Oss <6331106+codyoss@users.noreply.github.com> Date: Fri, 2 Sep 2022 10:50:13 -0500 Subject: [PATCH] chore(internal/gapicgen): fix print to not panic (#6583) --- internal/gapicgen/generator/genproto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/gapicgen/generator/genproto.go b/internal/gapicgen/generator/genproto.go index 200544a39179..5db3b905947b 100644 --- a/internal/gapicgen/generator/genproto.go +++ b/internal/gapicgen/generator/genproto.go @@ -140,7 +140,7 @@ func (g *GenprotoGenerator) Regen(ctx context.Context) error { return g.protoc(fn, grpc) }) } else { - log.Panicf("skipping, %q has been migrated", pkg) + log.Printf("skipping, %q has been migrated", pkg) } } if err := grp.Wait(); err != nil {