Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.tests.util/src')
-rw-r--r--org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java b/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java
index 92bdc32cc..8085dd267 100644
--- a/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java
+++ b/org.eclipse.mylyn.tests.util/src/org/eclipse/mylyn/tests/util/TestUtil.java
@@ -79,7 +79,10 @@ public class TestUtil {
}
properties.load(new FileInputStream(file));
} catch (Exception e) {
- throw new AssertionFailedError("must define credentials in <plug-in dir>/credentials.properties");
+ AssertionFailedError error = new AssertionFailedError(
+ "must define credentials in <plug-in dir>/credentials.properties");
+ error.initCause(e);
+ throw error;
}
String defaultPassword = properties.getProperty("pass");

Back to the top