update error di form_validator

1 parent 2d392b61
......@@ -346,8 +346,11 @@ class BaseView(object):
except Exception as e:
msg = f"Error cleaning HTML for key {k}: {e}"
log.error(msg)
exc[k] = msg
value[k] = v
try:
exc[k] = msg
value[k] = v
except:
pass
# raise exc from e
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!