Fix - unwanted change of existing logging

This commit is contained in:
petr.kalis 2020-06-18 12:16:14 +02:00
parent 42c77d0e13
commit fe9ed4c09e

View file

@ -600,8 +600,8 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
except OSError as e:
if e.errno == errno.EEXIST:
pass
else:# clean destination
self.log.error("An unexpected error occurred.")
else:
self.log.critical("An unexpected error occurred.")
raise
# copy file with speedcopy and check if size of files are simetrical