0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-29 03:54:39 +01:00

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

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