diff options
author | Jens Baumgart | 2011-01-12 14:06:38 +0000 |
---|---|---|
committer | Mathias Kinzler | 2011-01-13 14:39:45 +0000 |
commit | b322dca57dd79ecdb02c2d586ca9250788cae91a (patch) | |
tree | 5a59e4f9eead3038a2128ebdfaa8ab111c467935 /org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java | |
parent | ce5b75d1e252bc7238570567bc83cc58f83e538c (diff) | |
download | egit-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.java | 2 |
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; } |