You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if e.Err != nil {
// Indent on new line if we are cascading non-empty Upspin errors.
if prevErr, ok := e.Err.(*Error); ok {
if !prevErr.isZero() {
pad(b, Separator)
b.WriteString(e.Err.Error())
}
} else {
pad(b, ": ")
b.WriteString(e.Err.Error())
}
}
it should be
if e.Err != nil {
// Indent on new line if we are cascading non-empty Upspin errors.
if prevErr, ok := e.Err.(*Error); ok {
if !prevErr.isZero() {
pad(b, Separator)
} else {
pad(b, ": ")
}
} else {
pad(b, ": ")
}
b.WriteString(e.Err.Error())
}
The text was updated successfully, but these errors were encountered:
I believe there is a bug at this line https://github.com/upspin/upspin/blob/master/errors/errors.go#L265
rather than
it should be
The text was updated successfully, but these errors were encountered: