diff --git a/web/static/js/swapp.js b/web/static/js/swapp.js index 5e00474..f028358 100644 --- a/web/static/js/swapp.js +++ b/web/static/js/swapp.js @@ -174,7 +174,7 @@ } }, function(error){ console.error("Failed loading CSV data of " + target.name + ".", error); - alert("There was an error.\nPlease try again in a few moments."); + alert("There was an error with the CSV of " + target.name + ".\nPlease try another interval.\n\n" + error); targetButton.removeClass('loading'); return this$.hideLoader(); }); diff --git a/web/static/js/swapp.ls b/web/static/js/swapp.ls index 5477d76..5474cdb 100644 --- a/web/static/js/swapp.ls +++ b/web/static/js/swapp.ls @@ -176,7 +176,7 @@ https://gitlab.irap.omp.eu/CDPP/SPACEWEATHERONLINE , (error) ~> console.error("Failed loading CSV data of #{target.name}.", error) - alert("There was an error.\nPlease try again in a few moments.") + alert("There was an error with the CSV of #{target.name}.\nPlease try another interval.\n\n#{error}") targetButton.removeClass('loading') @hideLoader() ) -- libgit2 0.21.2