Skip to content

Commit

Permalink
More log cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
abates committed Aug 2, 2019
1 parent dc26ab2 commit 7dffbb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion info.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func Stat(filename string) (fi *FileInfo, err error) {
fi = &FileInfo{}
err = json.Unmarshal(writer.Bytes(), fi)
} else {
err = fmt.Errorf("%s", string(logWriter.Bytes()))
err = fmt.Errorf("%s", strings.TrimSpace(logWriter.String()))
}
}
return fi, err
Expand Down

0 comments on commit 7dffbb2

Please sign in to comment.