mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
Iterating over ValidatorError does not necessarily return a tuple. This uses the `message_dict` property on `ValidationError` instead to make sure that we always get a `dict` (it otherwise raises an `AttributeError` when the `dict` is not available). Signed-off-by: Zixuan James Li <p359101898@gmail.com>
14 KiB
14 KiB