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

Commit d2145b1

Browse files
authored
fix(launcher): output uncaught exception error (#3390)
* split out message and stack to hopefully provide more information to the error closes #3384
1 parent d7cf42e commit d2145b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/launcher.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ let initFn = function(configFile: string, additionalConfig: Config) {
188188
protractorError.stack);
189189
process.exit(errorCode);
190190
} else {
191-
logger.error(
192-
'"process.on(\'uncaughtException\'" error, see launcher');
191+
logger.error(e.message);
192+
logger.error(e.stack);
193193
process.exit(ProtractorError.CODE);
194194
}
195195
});

0 commit comments

Comments
 (0)