We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eab20cb commit 9b8a9dfCopy full SHA for 9b8a9df
web_src/js/components/RepoActionView.vue
@@ -225,7 +225,11 @@ const sfc = {
225
this.fetchArtifacts(), // refresh artifacts if upload-artifact step done
226
]);
227
} catch (err) {
228
- if (!(err instanceof TypeError)) throw err; // avoid network error while unloading page
+ if (err instanceof TypeError) {
229
+ return; // avoid network error while unloading page
230
+ } else {
231
+ throw err;
232
+ }
233
}
234
235
this.artifacts = artifacts['artifacts'] || [];
0 commit comments