This commit is contained in:
Alexey Kudravtsev
2016-06-02 19:24:49 +03:00
parent 9cbb3eddc0
commit f4dfca7f48
@@ -77,11 +77,7 @@ public class _LastInSuiteTest extends TestCase {
LeakHunter.checkProjectLeak();
Disposer.assertIsEmpty(true);
}
catch (AssertionError e) {
captureMemorySnapshot();
throw e;
}
catch (Exception e) {
catch (AssertionError | Exception e) {
captureMemorySnapshot();
throw e;
}