diff options
| author | 2023-10-16 16:27:31 -0400 | |
|---|---|---|
| committer | 2023-10-17 09:10:13 -0400 | |
| commit | ba5f32a2f9f48ebc1399ece9ee77dced868d78bc (patch) | |
| tree | 9d7fcba4e321794cfd21c2950d9dccee3957679e | |
| parent | e09e20ec47869ff99a1fc53973e64caa716a327d (diff) | |
Improve error message readability
Test: n/a
Change-Id: Iceb0b68f4b83e2b43c0947885c514252a6de30c1
| -rw-r--r-- | android/config_bp2build.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |