diff --git a/lib/common b/lib/common index a6128811a7..e5eba381ab 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit a6128811a7416268b98aa73023cf725b80348ff4 +Subproject commit e5eba381ab3c27838fbfe678575d0510b42b9675 diff --git a/lib/nativescript-cli.ts b/lib/nativescript-cli.ts index 143c5268d5..1f30074c49 100644 --- a/lib/nativescript-cli.ts +++ b/lib/nativescript-cli.ts @@ -3,7 +3,7 @@ import * as shelljs from "shelljs"; shelljs.config.silent = true; shelljs.config.fatal = true; import { installUncaughtExceptionListener } from "./common/errors"; -installUncaughtExceptionListener(process.exit); +installUncaughtExceptionListener(process.exit.bind(process, ErrorCodes.UNCAUGHT)); import { settlePromises } from "./common/helpers";