Fix merr.Error.FullString
This commit is contained in:
parent
e8376ef263
commit
0b5bdf3dfb
@ -50,7 +50,7 @@ func (e Error) FullError() string {
|
|||||||
sb.WriteString(": ")
|
sb.WriteString(": ")
|
||||||
|
|
||||||
// if there's no newlines then print v inline with k
|
// if there's no newlines then print v inline with k
|
||||||
if strings.Contains(v, "\n") {
|
if !strings.Contains(v, "\n") {
|
||||||
sb.WriteString(v)
|
sb.WriteString(v)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user