Change error output format for better SDK and Voyager UX (#2648)

* Change error output format

* Update tests

* 🤦

* apply suggestion
This commit is contained in:
Jack Zampolin
2018-10-17 11:26:14 -07:00
committed by Ethan Buchman
parent d20693fb16
commit 6a07f415e9
2 changed files with 7 additions and 7 deletions

View File

@ -146,7 +146,7 @@ func (err *cmnError) Format(s fmt.State, verb rune) {
s.Write([]byte("--= /Error =--\n"))
} else {
// Write msg.
s.Write([]byte(fmt.Sprintf("Error{%v}", err.data))) // TODO tick-esc?
s.Write([]byte(fmt.Sprintf("%v", err.data)))
}
}
}