zulip/zerver/views/development
Anders Kaseorg d0f4af5f8c python: Catch JSONDecodeError instead of ValueError when decoding JSON.
These weren’t wrong since orjson.JSONDecodeError subclasses
json.JSONDecodeError which subclasses ValueError, but the more
specific ones express the intention more clearly.

(ujson raised ValueError directly, as did json in Python 2.)

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-08-12 11:59:59 -07:00
..
__init__.py
email_log.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
integrations.py python: Catch JSONDecodeError instead of ValueError when decoding JSON. 2020-08-12 11:59:59 -07:00
registration.py docs: Fix spelling errors caught by codespell. 2020-08-11 10:23:06 -07:00