Revert "Log exception"

This reverts commit 7c140a3338.
This commit is contained in:
Telmo Santos
2020-09-02 12:06:39 +02:00
parent 7c140a3338
commit b9e91458f5
@@ -266,8 +266,8 @@ class IrAttachment(models.Model):
try: try:
yield self.env(cr=cr) yield self.env(cr=cr)
except Exception: except Exception:
_logger.exception("Error creating new odoo " cr.rollback()
"environment") raise
else: else:
# disable pylint error because this is a valid commit, # disable pylint error because this is a valid commit,
# we are in a new env # we are in a new env