diff --git a/umap/views.py b/umap/views.py index 4e667cc5..d7477cbc 100644 --- a/umap/views.py +++ b/umap/views.py @@ -343,6 +343,8 @@ class AjaxProxy(View): return HttpResponseBadRequest("URL error") except InvalidURL: return HttpResponseBadRequest("Invalid URL") + except TimeoutError: + return HttpResponseBadRequest("Timeout") else: status_code = proxied_request.code mimetype = proxied_request.headers.get(