From dee3496d787488e8f0d1d69674032646351f7416 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Mon, 17 Dec 2007 10:20:24 +0000 Subject: [PATCH] Logging errors in addition to the error dialogs shown. --- .../indexwizards/TeamProjectIndexExportWizardPage.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/indexwizards/TeamProjectIndexExportWizardPage.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/indexwizards/TeamProjectIndexExportWizardPage.java index 1f0484e4e18..9d814863df6 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/indexwizards/TeamProjectIndexExportWizardPage.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/indexwizards/TeamProjectIndexExportWizardPage.java @@ -46,6 +46,7 @@ import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.Text; import org.eclipse.ui.dialogs.WizardDataTransferPage; +import org.eclipse.cdt.core.CCorePlugin; import org.eclipse.cdt.core.model.CModelException; import org.eclipse.cdt.core.model.CoreModel; import org.eclipse.cdt.core.model.ICProject; @@ -322,11 +323,14 @@ public class TeamProjectIndexExportWizardPage extends WizardDataTransferPage im } catch (InterruptedException e) { return false; } catch (InvocationTargetException e) { + CCorePlugin.log(CCorePlugin.createStatus(Messages.TeamProjectIndexExportWizardPage_errorExporting, + e.getTargetException())); displayErrorDialog(e.getTargetException()); return false; } if (!status.isOK()) { + CCorePlugin.log(status); ErrorDialog.openError(getContainer().getShell(), getErrorDialogTitle(), null, // no special message