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:
yield self.env(cr=cr)
except Exception:
_logger.exception("Error creating new odoo "
"environment")
cr.rollback()
raise
else:
# disable pylint error because this is a valid commit,
# we are in a new env