Fix string formatting error for go1.10 (#201)

This commit is contained in:
Zaki Manian 2018-02-27 04:03:21 -08:00 committed by Anton Kaliaev
parent 6d47f4afe2
commit 192fb2aabc
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ func SetOption(client abcicli.Client, key, value string) error {
_, err := client.SetOptionSync(types.RequestSetOption{Key: key, Value: value})
if err != nil {
fmt.Println("Failed test: SetOption")
fmt.Printf("error while setting %v=%v: \nerror: %v\n", key, value)
fmt.Printf("error while setting %v=%v: \nerror: %v\n", key, value, err)
return err
}
fmt.Println("Passed test: SetOption")