mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
@@ -225,7 +225,8 @@ const sfc = {
|
|||||||
this.fetchArtifacts(), // refresh artifacts if upload-artifact step done
|
this.fetchArtifacts(), // refresh artifacts if upload-artifact step done
|
||||||
]);
|
]);
|
||||||
} catch (err) {
|
} 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'] || [];
|
this.artifacts = artifacts['artifacts'] || [];
|
||||||
|
Reference in New Issue
Block a user