summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-05-21 14:50:39 +0200
committerChristophe Simonis <chs@odoo.com>2015-05-21 14:50:39 +0200
commit14a7d52307fe30443e8f08a262d46f6d2f804bc1 (patch)
treeb8183ae7549206f27bac51d9f2eaaa5ce3e4a818 /addons/web/controllers/main.py
parent5cff8fbb7c70a372cb5116c2fb98fd622c4d4358 (diff)
parent327e471c9b5d30317b69396b0f0932ff445e3694 (diff)
[MERGE] forward port of branch 8.0 up to 327e471
Diffstat (limited to 'addons/web/controllers/main.py')
-rw-r--r--addons/web/controllers/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index 43efd2c38d7..5aaf63d034f 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -1183,6 +1183,7 @@ class Binary(http.Controller):
}
except Exception:
args = {'error': "Something horrible happened"}
+ _logger.exception("Fail to upload attachment %s" % ufile.filename)
return out % (simplejson.dumps(callback), simplejson.dumps(args))
@http.route([