diff --git a/public/javascripts/server.js b/public/javascripts/server.js index d5e452964..82872f08c 100644 --- a/public/javascripts/server.js +++ b/public/javascripts/server.js @@ -82,6 +82,8 @@ const server = (function() { return await $.ajax(options).catch(e => { showError("Error when calling " + method + " " + url + ": " + e.status + " - " + e.statusText); + + throw e; }); }