Catch UnicodeDecodeError in ORJSONParser
Change exception handler from orjson.JSONDecodeError to ValueError, which catches both UnicodeDecodeError and JSONDecodeError (both are subclasses of ValueError). Fixes https://github.com/brianjbuck/drf_orjson_renderer/issues/29
B
Brian Buck committed
7debf7a6237a54d7ff151f5720e1679538ae109d
Parent: 68b2f0a