Skip to content

do not except: all and SerializerFieldValueError #7

@alexlehn

Description

@alexlehn

There are multiple points in the aserializer.fields.base where is an expect all.
This is vary frustrating because it caches every error and tells you that it is a SerializerFieldValueError.
This has cost us 5h of debugging to find our programming error !!!

is it required to catch all??
except:
raise SerializerFieldValueError(self._error_messages['invalid'], field_names=self.names)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions