mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-30 00:01:24 +00:00
Backport #27289 by @silverwind Should fix: https://github.com/go-gitea/gitea/issues/27213 @denyskon can you test this? I can not reproduce this error locally. Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
283b19bad5
commit
34c440996d
|
@ -225,7 +225,8 @@ const sfc = {
|
|||
this.fetchArtifacts(), // refresh artifacts if upload-artifact step done
|
||||
]);
|
||||
} catch (err) {
|
||||
if (!(err instanceof TypeError)) throw err; // avoid network error while unloading page
|
||||
if (err instanceof TypeError) return; // avoid network error while unloading page
|
||||
throw err;
|
||||
}
|
||||
|
||||
this.artifacts = artifacts['artifacts'] || [];
|
||||
|
|
Loading…
Reference in a new issue