Author: adietish
Date: 2011-01-27 12:28:22 -0500 (Thu, 27 Jan 2011)
New Revision: 28663
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/ErrorUtils.java
Log:
[JBIDE-8249] changed order: first log, then display error dialog
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/ErrorUtils.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/ErrorUtils.java 2011-01-27
17:25:55 UTC (rev 28662)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/ErrorUtils.java 2011-01-27
17:28:22 UTC (rev 28663)
@@ -25,8 +25,8 @@
public class ErrorUtils {
public static IStatus handleError(final String title, final String message, Throwable e,
final Shell shell) {
IStatus status = createStatus(e);
+ log(status);
openErrorDialog(title, message, status, shell);
- log(status);
return status;
}
Show replies by date