diff --git a/web_src/js/features/common-global.js b/web_src/js/features/common-global.js index d68f13043b9a5..e552908572a95 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); + } } }