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