c957fc5b5e
Using json.JSONDecodeError should replace using the 'message' accessor of exceptions, which Python 3 removed. This works as long as "simplejson" is not added as project dependency, because "requests" gives preferential treatment to simplejson, which ships its own version of JSONDecodeError.