Fix error handling

This commit is contained in:
Daniel 2020-05-08 11:02:35 +02:00
parent 441f9c45ac
commit f20ede2f06

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)
}