diff --git a/android/bazel.go b/android/bazel.go index 1bfbdec00..0d2c7776f 100644 --- a/android/bazel.go +++ b/android/bazel.go @@ -255,7 +255,7 @@ func (b *BazelModuleBase) GetBazelLabel(ctx BazelConversionPathContext, module b if b.ShouldConvertWithBp2build(ctx) { return bp2buildModuleLabel(ctx, module) } - panic(fmt.Errorf("requested non-existent label for module ", module.Name())) + panic(fmt.Errorf("requested non-existent label for module %s", module.Name())) } type Bp2BuildConversionAllowlist struct {