From 404315aaeda971328597d063ec84b1c29a472f4a Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Fri, 13 Jul 2018 11:11:00 +0200 Subject: [PATCH] log errors from ApplyUncompressedLayer Related: https://github.com/projectatomic/libpod/issues/1087 Signed-off-by: Tomas Tomecek --- drivers/fsdiff.go | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/fsdiff.go b/drivers/fsdiff.go index 35869d9063..9c11a069c8 100644 --- a/drivers/fsdiff.go +++ b/drivers/fsdiff.go @@ -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())