diff --git a/archive/tar.go b/archive/tar.go index af11c5a97..b7125b772 100644 --- a/archive/tar.go +++ b/archive/tar.go @@ -54,6 +54,9 @@ func Diff(ctx context.Context, a, b string) io.ReadCloser { go func() { err := WriteDiff(ctx, w, a, b) + if err != nil { + log.G(ctx).WithError(err).Debugf("write diff failed") + } if err = w.CloseWithError(err); err != nil { log.G(ctx).WithError(err).Debugf("closing tar pipe failed") }