When catching a global error in Node.js, print the type of error
This commit is contained in:
@@ -78,7 +78,7 @@ getJasmineRequireObj().QueueRunner = function(j$) {
|
||||
cleanup();
|
||||
|
||||
if (j$.isError_(err)) {
|
||||
if (!(err instanceof StopExecutionError)) {
|
||||
if (!(err instanceof StopExecutionError) && !err.jasmineMessage) {
|
||||
self.fail(err);
|
||||
}
|
||||
self.errored = errored = true;
|
||||
|
||||
Reference in New Issue
Block a user