We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc2f27 commit 7833751Copy full SHA for 7833751
java/client/test/org/openqa/selenium/testing/JUnit4TestBase.java
@@ -22,6 +22,8 @@
22
import static org.hamcrest.Matchers.not;
23
import static org.junit.Assert.assertThat;
24
25
+import com.google.common.base.Throwables;
26
+
27
import org.junit.AssumptionViolatedException;
28
import org.junit.Before;
29
import org.junit.Rule;
@@ -178,6 +180,7 @@ private void dealWithSauceFailureIfNecessary(Throwable t) {
178
180
throw new RuntimeException("Sauce-related failure. Tried re-creating the driver, but that failed too.", t);
179
181
}
182
} else {
183
+ Throwables.throwIfUnchecked(t);
184
throw new RuntimeException(t);
185
186
0 commit comments