Skip to content

Commit

Permalink
log errors from ApplyUncompressedLayer
Browse files Browse the repository at this point in the history
Related: containers/podman#1087

Signed-off-by: Tomas Tomecek <[email protected]>
  • Loading branch information
TomasTomecek committed Jul 13, 2018
1 parent 90d0a58 commit 404315a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/fsdiff.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func (gdw *NaiveDiffDriver) ApplyDiff(id string, applyMappings *idtools.IDMappin
start := time.Now().UTC()
logrus.Debug("Start untar layer")
if size, err = ApplyUncompressedLayer(layerFs, diff, options); err != nil {
logrus.Errorf("Error while applying layer: %s", err)
return
}
logrus.Debugf("Untar time: %vs", time.Now().UTC().Sub(start).Seconds())
Expand Down

0 comments on commit 404315a

Please sign in to comment.