diff --git a/file.go b/file.go index d514f23..12a5077 100644 --- a/file.go +++ b/file.go @@ -150,7 +150,7 @@ func (fp *FilePages) PageHistory(p string) ([]Revision, error) { err = cmd.Start() if err != nil { - return nil, fmt.Errorf("while starting", err) + return nil, fmt.Errorf("while starting: %s", err) } buf := bufio.NewScanner(output) @@ -180,7 +180,7 @@ func (fp *FilePages) PageHistory(p string) ([]Revision, error) { } if err := cmd.Wait(); err != nil { - return nil, fmt.Errorf("while waiting", err) + return nil, fmt.Errorf("while waiting: %s", err) } return revisions, nil