Skip to content

Commit

Permalink
test: 100% cov ftw
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Aug 21, 2018
1 parent 92f41ba commit c5ffb12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Helper/OutputHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ public function printTrace(\Throwable $e)
"(thrown in <yellow>{$e->getFile()}</end><white>:{$e->getLine()})</end>"
);

// Internal exception traces are not printed.
// @codeCoverageIgnoreStart
if ($e instanceof Exception) {
// Internal exception traces are not printed.
return;
}
// @codeCoverageIgnoreEnd

$traceStr = '<eol/><eol/><bold>Stack Trace:</end><eol/><eol/>';

Expand Down

0 comments on commit c5ffb12

Please sign in to comment.