File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/dialogs Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1313 *******************************************************************************/
1414package org .eclipse .ui .internal .dialogs ;
1515
16+ import java .util .List ;
1617import org .eclipse .core .runtime .CoreException ;
1718import org .eclipse .core .runtime .IStatus ;
1819import org .eclipse .jface .preference .IPreferencePage ;
@@ -58,8 +59,9 @@ public void createPage() {
5859 } catch (CoreException e ) {
5960 // Just inform the user about the error. The details are
6061 // written to the log by now.
61- IStatus errStatus = StatusUtil .newStatus (e .getStatus (), WorkbenchMessages .PropertyPageNode_errorMessage );
62- StatusManager .getManager ().handle (errStatus , StatusManager .SHOW );
62+ IStatus errStatus = StatusUtil .newStatus (List .of (e .getStatus ()),
63+ WorkbenchMessages .PropertyPageNode_errorMessage , null );
64+ StatusManager .getManager ().handle (errStatus , StatusManager .SHOW | StatusManager .LOG );
6365 page = new EmptyPropertyPage ();
6466 }
6567 setPage (page );
You can’t perform that action at this time.
0 commit comments