mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Catch exceptions from main method in fetch script
This commit is contained in:
parent
300eac197d
commit
d9e8fa34e7
@ -289,4 +289,4 @@ async function main() {
|
|||||||
console.log("Done!");
|
console.log("Done!");
|
||||||
}
|
}
|
||||||
|
|
||||||
main().then((ret) => process.exit(ret));
|
main().then((ret) => process.exit(ret)).catch(e => process.exit(1));
|
||||||
|
Loading…
Reference in New Issue
Block a user