Add missed return to actions view fetch (#27289)

Should fix: #27213
This commit is contained in:
silverwind 2023-09-27 02:34:52 +02:00 committed by GitHub
parent eab20cb6bd
commit 709c2fad8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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'] || [];