Skip to content

Commit 709c2fa

Browse files
authored
Add missed return to actions view fetch (#27289)
Should fix: #27213
1 parent eab20cb commit 709c2fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web_src/js/components/RepoActionView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ const sfc = {
225225
this.fetchArtifacts(), // refresh artifacts if upload-artifact step done
226226
]);
227227
} catch (err) {
228-
if (!(err instanceof TypeError)) throw err; // avoid network error while unloading page
228+
if (err instanceof TypeError) return; // avoid network error while unloading page
229+
throw err;
229230
}
230231
231232
this.artifacts = artifacts['artifacts'] || [];

0 commit comments

Comments
 (0)