Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Commit

Permalink
#840 - prevent parentTest from copying childTest exception
Browse files Browse the repository at this point in the history
  • Loading branch information
anshooarora committed Apr 5, 2017
1 parent 5563b7d commit 0dce6fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/aventstack/extentreports/ExtentTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,6 @@ public synchronized ExtentTest log(Status status, Throwable t, MediaEntityModelP
exInfo.setStackTrace(ExceptionUtil.getStackTrace(t));

getModel().setExceptionInfo(exInfo);
if (getModel().getLevel() > 1)
getModel().getParent().setExceptionInfo(exInfo);

log(status, exInfo.getStackTrace(), provider);

Expand Down

0 comments on commit 0dce6fb

Please sign in to comment.