Ungültiges Forgejo-Token automatisch erneuern
This commit is contained in:
1 parent
712acdf2e5
commit
1062890099
2 files changed
+6
-5
No files matched your search
+2
-1
@@ -64,6 +64,7 @@ export function containerEngine() {
|
||||
export function main(fn) {
|
||||
fn().catch((err) => {
|
||||
console.error(`\x1b[1;31mFehler:\x1b[0m ${err.message}`);
|
||||
process.exit(1);
|
||||
// exitCode statt process.exit(): verhindert unter Windows einen libuv-Absturz bei offenen fetch-Handles
|
||||
process.exitCode = 1;
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user