SQL: [TESTS] Improve error messages on failures
When an integration test fails before the assertion of the results it's
missing information, like the file name and the line in the file where
the test resides.
@@ -87,8 +87,8 @@ public abstract class SpecBaseIntegrationTestCase extends JdbcIntegrationTestCas
try {
assumeFalse("Test marked as Ignored", testName.endsWith("-Ignore"));
doTest();
- } catch (AssertionError ae) {
- throw reworkException(ae);
+ } catch (Exception e) {
+ throw reworkException(e);
}
}
