From c53b59c36bf8746119f620a0f707fbe214388c2d Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Wed, 13 Nov 2019 12:58:16 -0500 Subject: [PATCH] Bug 552481: Expose error when wizard fails An example of a failure that used to be buried in the log is a project that failed to be created due to different case resource exception. Change-Id: I89acd7474d499cfe258dfdd840983bef64d38838 --- .../src/org/eclipse/cdt/ui/wizards/CDTCommonProjectWizard.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/CDTCommonProjectWizard.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/CDTCommonProjectWizard.java index ecb71b4fe97..223c2592304 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/CDTCommonProjectWizard.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/CDTCommonProjectWizard.java @@ -258,7 +258,7 @@ public abstract class CDTCommonProjectWizard extends BasicNewResourceWizard new SubProgressMonitor(fMonitor, 40)); fMonitor.worked(10); } catch (CoreException e) { - CUIPlugin.log(e); + CUIPlugin.errorDialog(getShell(), title, message, e, true); } finally { fMonitor.done(); }