feat(global): adding debug print

This commit is contained in:
Jakub Jezek 2020-06-04 18:19:55 +02:00
parent 46e07c0354
commit 1213357d29
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3

View file

@ -562,6 +562,7 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
import shutil
try:
shutil.copyfile(src, dst)
self.log.debug("Copying files with shutil...")
except (OSError, AttributeError) as e:
self.log.critical("Cannot copy {} to {}".format(src, dst))
self.log.critical(e)