Removed swallowing of exception in JsonResponse.