From ba5f32a2f9f48ebc1399ece9ee77dced868d78bc Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Mon, 16 Oct 2023 16:27:31 -0400 Subject: [PATCH] Improve error message readability Test: n/a Change-Id: Iceb0b68f4b83e2b43c0947885c514252a6de30c1 --- android/config_bp2build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/config_bp2build.go b/android/config_bp2build.go index 2beeb51ec..b632e3302 100644 --- a/android/config_bp2build.go +++ b/android/config_bp2build.go @@ -201,7 +201,7 @@ func (m ExportedStringVariables) asBazel(config Config, panic(fmt.Errorf("error expanding config variable %s: %s", k, err)) } if len(expandedVar) > 1 { - panic(fmt.Errorf("%s expands to more than one string value: %s", variableValue, expandedVar)) + panic(fmt.Errorf("%q expands to more than one string value: %q", variableValue, expandedVar)) } ret = append(ret, bazelConstant{ variableName: k,