Merge pull request #2228 from git-lfs/commands-not-fmt
commands: fix logged error not interpolating format qualifiers
This commit is contained in:
commit
289a18b2bc
@ -354,10 +354,10 @@ func logPanicToWriter(w io.Writer, loggedError error, le string) {
|
||||
w.Write(ErrorBuffer.Bytes())
|
||||
fmt.Fprint(w, le)
|
||||
|
||||
fmt.Fprint(w, "%+v"+le, loggedError)
|
||||
fmt.Fprintf(w, "%+v"+le, loggedError)
|
||||
|
||||
for key, val := range errors.Context(err) {
|
||||
fmt.Fprint(w, "%s=%v"+le, key, val)
|
||||
fmt.Fprintf(w, "%s=%v"+le, key, val)
|
||||
}
|
||||
|
||||
fmt.Fprint(w, le+"ENV:"+le)
|
||||
|
Loading…
Reference in New Issue
Block a user