Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(launcher): output uncaught exception error (#3390)
Browse files Browse the repository at this point in the history
* split out message and stack to hopefully provide more information to the error

closes #3384
  • Loading branch information
cnishina authored Jul 19, 2016
1 parent d7cf42e commit d2145b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ let initFn = function(configFile: string, additionalConfig: Config) {
protractorError.stack);
process.exit(errorCode);
} else {
logger.error(
'"process.on(\'uncaughtException\'" error, see launcher');
logger.error(e.message);
logger.error(e.stack);
process.exit(ProtractorError.CODE);
}
});
Expand Down

0 comments on commit d2145b1

Please sign in to comment.