1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-14 03:35:37 +02:00

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
This commit is contained in:
Jonah Graham 2019-11-13 12:58:16 -05:00
parent fac1ba39e6
commit c53b59c36b

View file

@ -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();
}