This commit is contained in:
Ari Lazier 2016-11-21 15:33:37 -08:00
parent bcec963629
commit 0238e8fa48
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ module.exports = function(realmConstructor) {
});
process.on('uncaughtException', function(e) {
realmConstructor.Sync.cleanup();
/* eslint-disable no-console */
console.log(e.stack);
process.exit(99);
});