]> source.dussan.org Git - gitea.git/commit
Don't show AbortErrors on logout (#29639) (#29667)
authorsilverwind <me@silverwind.io>
Sat, 9 Mar 2024 09:22:18 +0000 (10:22 +0100)
committerGitHub <noreply@github.com>
Sat, 9 Mar 2024 09:22:18 +0000 (17:22 +0800)
commit346b66230519955fc831e75a9cc6175621d63b02
tree156679a4e218c363c0e720c235472a29d7585d01
parent25b0c99a41e9024d439deaa55be7ba87f6cd557f
Don't show AbortErrors on logout (#29639) (#29667)

Backport https://github.com/go-gitea/gitea/pull/29639.

When logging out of Gitea, a error toast can be seen for a split second.
I don't know why or how it happens but I found it it's an `AbortError`
(related to
[AbortController#abort](https://developer.mozilla.org/en-US/docs/Web/API/AbortController/abort)),
so let's hide it.
web_src/js/features/common-global.js