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 13
13
*******************************************************************************/
14
14
package org .eclipse .ui .internal .dialogs ;
15
15
16
+ import java .util .List ;
16
17
import org .eclipse .core .runtime .CoreException ;
17
18
import org .eclipse .core .runtime .IStatus ;
18
19
import org .eclipse .jface .preference .IPreferencePage ;
@@ -58,8 +59,9 @@ public void createPage() {
58
59
} catch (CoreException e ) {
59
60
// Just inform the user about the error. The details are
60
61
// 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 );
63
65
page = new EmptyPropertyPage ();
64
66
}
65
67
setPage (page );
You can’t perform that action at this time.
0 commit comments