diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-17 13:50:28 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-17 13:50:28 -0700 |
| commit | 45ca5d60383cbe270624c713b916da29af7ba88f (patch) | |
| tree | a6f8b9ecf24837e8588390ae5bdf5fdef711fed9 /hotline/file_wrapper.go | |
| parent | 5954ccad9c87063231f3a8bb3e5d01675a9865ca (diff) | |
Fix io.Reader implementations and wrap more errors
Diffstat (limited to 'hotline/file_wrapper.go')
| -rw-r--r-- | hotline/file_wrapper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/file_wrapper.go b/hotline/file_wrapper.go index 997325a..342355b 100644 --- a/hotline/file_wrapper.go +++ b/hotline/file_wrapper.go @@ -246,7 +246,7 @@ func (f *fileWrapper) flattenedFileObject() (*flattenedFileObject, error) { _, err = io.Copy(&f.ffo.FlatFileInformationFork, bytes.NewReader(b)) if err != nil { - return nil, err + return nil, fmt.Errorf("error copying FlatFileInformationFork: %w", err) } } else { |