diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 3ebbfb02af6..8b3a21fdee8 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1168,6 +1168,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([