tweak comment

This commit is contained in:
Roy Nieterau 2022-04-03 20:41:34 +02:00
parent fe72197a9f
commit c3c8281e01

View file

@ -183,7 +183,7 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
self.register(instance, file_transactions)
except Exception:
# clean destination
# todo: rollback any registered entities? (or how safe are we?)
# todo: preferably we'd also rollback *any* changes to the database
file_transactions.rollback()
self.log.critical("Error when registering", exc_info=True)
six.reraise(*sys.exc_info())