commands/command_smudge: print shorthand error in output

This commit is contained in:
Taylor Blau 2017-04-26 09:12:52 -06:00
parent 21a2e157ba
commit 2f96d81358

@ -75,7 +75,7 @@ func smudge(to io.Writer, from io.Reader, filename string, skip bool, filter *fi
oid = oid[:7]
}
LoggedError(err, "Error downloading object: %s (%s): %s", filename, oid)
LoggedError(err, "Error downloading object: %s (%s): %s", filename, oid, err)
if !cfg.SkipDownloadErrors() {
os.Exit(2)
}