1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-04-25 13:48:49 +08:00

Fix for error that happens on Go 1.11 and above

This commit is contained in:
Richard Townsend 2019-03-23 18:54:04 +00:00
parent 5d79ed7114
commit ac9fa85307
3 changed files with 1 additions and 1 deletions

View File

@ -80,6 +80,6 @@ func WrapError(err error) error {
}
func FormatError(err error, format string, args ...interface{}) error {
description := fmt.Sprintf(format, args)
description := fmt.Sprintf(format, args...)
return DescribeError(description, err)
}

Binary file not shown.

BIN
trees/tmp

Binary file not shown.