mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 19:55:23 +01:00
parent
eab20cb6bd
commit
709c2fad8a
@ -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'] || [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user