diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2019-12-10 00:18:21 -0500 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2019-12-10 00:18:21 -0500 |
| commit | efab55d4c8ebd3ae37917969c01cdf525829fa76 (patch) | |
| tree | 6eb8fb6a218406d01ded2acf0a8bee23766f361f /src | |
| parent | 4595d0a97a9dbb5fad1c58adab748214c95e1af7 (diff) | |
| download | ao-coverage-efab55d4c8ebd3ae37917969c01cdf525829fa76.tar.gz ao-coverage-efab55d4c8ebd3ae37917969c01cdf525829fa76.tar.bz2 ao-coverage-efab55d4c8ebd3ae37917969c01cdf525829fa76.zip | |
Fix reported license and update changelog
Diffstat (limited to 'src')
| -rw-r--r-- | src/util/config.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util/config.ts b/src/util/config.ts index 6f8b60b..34a9a46 100644 --- a/src/util/config.ts +++ b/src/util/config.ts @@ -32,7 +32,6 @@ export const handleShutdown = (mongo: MongoClient, server: Server) => ( }) ); }) - .finally(() => { - process.exit(0); - }); + .then(() => process.exit(0)) + .catch(() => process.exit(1)); }; |
