diff --git a/easyaudit/signals/model_signals.py b/easyaudit/signals/model_signals.py index 60a796e2..b76f2c36 100644 --- a/easyaudit/signals/model_signals.py +++ b/easyaudit/signals/model_signals.py @@ -54,7 +54,7 @@ def pre_save(sender, instance, raw, using, update_fields, **kwargs): return False try: object_json_repr = serializers.serialize("json", [instance]) - except Exception: + except ValueError: # We need a better way for this to work. ManyToMany will fail on pre_save on create return None