Commit bc864bfc authored by Piotr Gawron's avatar Piotr Gawron
Browse files

handle another error message

parent c82c2cf4
Pipeline #51102 failed with stage
in 11 minutes and 29 seconds
......@@ -10,6 +10,9 @@ minerva (16.0.6) stable; urgency=medium
* Bug fix: log4j2 updated to address security issue CVE-2021-44832
* Bug fix: multiple conversion between formats SBGN->SBML->SBGN->SBML could
crash if in the meantime there were additional elements added (#1617)
* Bug fix: when there is problem with loading data from minerva
("Load failed") suggestion about retrying before submitting error report is
provided (#1623)
-- Piotr Gawron <piotr.gawron@uni.lu> Thu, 16 Dec 2021 11:00:00 +0200
......
......@@ -431,7 +431,7 @@ GuiConnector.prototype.alert = function (error, redirectIfSecurityError) {
* @returns {Object}
*/
GuiConnector.prototype.getErrorMessageForError = function (error) {
if (error instanceof NetworkError && error.message === 'Failed to fetch') {
if (error instanceof NetworkError && (error.message === 'Failed to fetch' || error.message === 'Load failed')) {
return {
showReport: false,
message: "There was a problem with fetching data from minerva server. " +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment