Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Baumgart2011-01-12 14:06:38 +0000
committerMathias Kinzler2011-01-13 14:39:45 +0000
commitb322dca57dd79ecdb02c2d586ca9250788cae91a (patch)
tree5a59e4f9eead3038a2128ebdfaa8ab111c467935 /org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java
parentce5b75d1e252bc7238570567bc83cc58f83e538c (diff)
downloadegit-b322dca57dd79ecdb02c2d586ca9250788cae91a.tar.gz
egit-b322dca57dd79ecdb02c2d586ca9250788cae91a.tar.xz
egit-b322dca57dd79ecdb02c2d586ca9250788cae91a.zip
GitHistoryPage: fix bug in exception handling
Nothing was logged because the non existing cause of the exception was logged. Change-Id: I8954936719a50a201115d086eabfe8c119f582cf Signed-off-by: Jens Baumgart <jens.baumgart@sap.com>
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java
index 47d10b854a..efc5ea61d6 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java
@@ -1058,7 +1058,7 @@ public class GitHistoryPage extends HistoryPage implements RefsChangedListener {
try {
initAndStartRevWalk(true);
} catch (IllegalStateException e) {
- Activator.handleError(e.getMessage(), e.getCause(), true);
+ Activator.handleError(e.getMessage(), e, true);
return false;
}

Back to the top