diff --git a/web_src/js/features/common-global.js b/web_src/js/features/common-global.js index d68f13043b..e552908572 100644 --- a/web_src/js/features/common-global.js +++ b/web_src/js/features/common-global.js @@ -101,9 +101,11 @@ async function fetchActionDoRequest(actionElem, url, opt) { showErrorToast(`server error: ${resp.status}`); } } catch (e) { - console.error('error when doRequest', e); actionElem.classList.remove('is-loading', 'small-loading-icon'); - showErrorToast(i18n.network_error); + if (e.name !== 'AbortError') { + console.error('error when doRequest', e); + showErrorToast(i18n.network_error); + } } }