diff --git a/client/ayon_core/plugins/publish/integrate_hero_version.py b/client/ayon_core/plugins/publish/integrate_hero_version.py index 99fdfc94f5..ee499d6d45 100644 --- a/client/ayon_core/plugins/publish/integrate_hero_version.py +++ b/client/ayon_core/plugins/publish/integrate_hero_version.py @@ -448,8 +448,7 @@ class IntegrateHeroVersion( raise KnownPublishError(exc).with_traceback(sys.exc_info()[2]) except Exception as exc: - # clean destination - # todo: preferably we'd also rollback *any* changes to the database + # Rollback the transactions file_transactions.rollback() self.log.critical("Error when copying files", exc_info=True) raise exc