Merge pull request #124 from vector-im/dbkr/catch_exceptions_fetch_scripts

Catch exceptions from main method in fetch script
This commit is contained in:
David Baker 2020-07-23 11:21:47 +01:00 committed by GitHub
commit 6b75b83c00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -289,4 +289,4 @@ async function main() {
console.log("Done!");
}
main().then((ret) => process.exit(ret));
main().then((ret) => process.exit(ret)).catch(e => process.exit(1));