diff options
Diffstat (limited to 'rhimport')
-rw-r--r-- | rhimport/fetcher.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rhimport/fetcher.go b/rhimport/fetcher.go index 801b920..536dbe1 100644 --- a/rhimport/fetcher.go +++ b/rhimport/fetcher.go @@ -598,7 +598,7 @@ func writeAttachmentFile(ctx *Context, res *Result, sizeTotal uint64, conv Fetch return nil case chunk, ok := <-ctx.AttachmentChan: if !ok { - rhl.Printf("receiving attachment '%s' failed: channel has been closed prematurely)", ctx.SourceFile) + rhl.Printf("receiving attachment '%s' failed: channel has been closed prematurely, after %d Bytes", ctx.SourceFile, written) res.ResponseCode = http.StatusBadRequest res.ErrorString = fmt.Sprintf("file upload stopped prematurely (after %d Bytes)", written) return nil |