From 709c2fad8a5c8f8dd270f9b291343d3a37d665e0 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 27 Sep 2023 02:34:52 +0200 Subject: [PATCH] Add missed return to actions view fetch (#27289) Should fix: #27213 --- web_src/js/components/RepoActionView.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue index da06dd9cb..797869b78 100644 --- a/web_src/js/components/RepoActionView.vue +++ b/web_src/js/components/RepoActionView.vue @@ -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'] || [];