diff --git a/muk_fields_lobject/controllers/main.py b/muk_fields_lobject/controllers/main.py index 079e067..7b2f6b5 100644 --- a/muk_fields_lobject/controllers/main.py +++ b/muk_fields_lobject/controllers/main.py @@ -54,6 +54,7 @@ class LargeObjectController(http.Controller): elif id and model in request.env.registry: obj = request.env[model].browse(int(id)) if not obj or not obj.exists() or field not in obj: + _logger.info(not obj, not obj.exists(), field not in obj) return request.not_found() try: last_update = obj['__last_update']