Skip to content

Commit

Permalink
fixup! test: refactor test-tls-enable-trace-cli.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cjihrig committed May 4, 2019
1 parent 5754f12 commit ff6069b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/parallel/test-tls-enable-trace-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ function test() {
key: keys.agent6.key
},
}, common.mustCall((err, pair, cleanup) => {
assert.ifError(err);
if (err) {
console.error(err);
console.error(err.opensslErrorStack);
console.error(err.reason);
assert(err);
}

return cleanup();
}));
}

0 comments on commit ff6069b

Please sign in to comment.