Merge pull request #43 from safing/feature/updater-improvements

Fix error handling
This commit is contained in:
Patrick Pacher 2020-05-08 11:06:51 +02:00 committed by GitHub
commit bcc3588868
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ func (reg *ResourceRegistry) Initialize(storageDir *utils.DirStructure) error {
}
// (re-)create tmp dir
reg.tmpDir.Ensure()
err = reg.tmpDir.Ensure()
if err != nil {
log.Warningf("%s: failed to create tmp dir: %s", reg.Name, err)
}