Skip to content

Commit 286c87a

Browse files
committed
disable checking for media existence as its causing issue with several cucumber1 users
1 parent db7d310 commit 286c87a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/aventstack/extentreports/reporter/BasicFileReporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public void onScreenCaptureAdded(Log log, ScreenCapture screenCapture) throws IO
245245

246246
private void mediaExists(Media m) throws IOException {
247247
if (m.getPath() != null && !new File(m.getPath()).exists()) {
248-
throw new IOException("Media was not found at [" + m.getPath() + "]");
248+
//throw new IOException("Media was not found at [" + m.getPath() + "]");
249249
}
250250
}
251251

0 commit comments

Comments
 (0)