ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1406857 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java
Date Wed, 07 Nov 2012 23:03:05 GMT
Author: hibou
Date: Wed Nov  7 23:03:05 2012
New Revision: 1406857

URL: http://svn.apache.org/viewvc?rev=1406857&view=rev
Log:
Log exceptions too if there are some

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java?rev=1406857&r1=1406856&r2=1406857&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/IvyPlugin.java
Wed Nov  7 23:03:05 2012
@@ -245,15 +245,15 @@ public class IvyPlugin extends AbstractU
         getDefault().getLog().log(status);
         switch (status.getCode()) {
             case IStatus.ERROR:
-                IvyDEMessage.error(status.getMessage());
+                IvyDEMessage.error(status.getMessage(), status.getException());
                 break;
             case IStatus.CANCEL:
             case IStatus.WARNING:
-                IvyDEMessage.warn(status.getMessage());
+                IvyDEMessage.warn(status.getMessage(), status.getException());
                 break;
             case IStatus.OK:
             case IStatus.INFO:
-                IvyDEMessage.info(status.getMessage());
+                IvyDEMessage.info(status.getMessage(), status.getException());
                 break;
         }
     }



Mime
View raw message