diff --git a/dashboard/js/http.js b/dashboard/js/http.js index b3917b9..9acc202 100644 --- a/dashboard/js/http.js +++ b/dashboard/js/http.js @@ -39,5 +39,10 @@ function getURL(url, params, callback) { } } }; - xhr.send(null); + + try { + xhr.send(null); + } catch (e) { + callback({error: e}); + } }