forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r226847 - /forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/wizards/NewProjectWizard.java
Date Mon, 01 Aug 2005 17:58:37 GMT
Author: rgardler
Date: Mon Aug  1 10:58:31 2005
New Revision: 226847

URL: http://svn.apache.org/viewcvs?rev=226847&view=rev
Log:
log errors, don't just ignore them (should really handle them gracefully)

Modified:
    forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/wizards/NewProjectWizard.java

Modified: forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/wizards/NewProjectWizard.java
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/wizards/NewProjectWizard.java?rev=226847&r1=226846&r2=226847&view=diff
==============================================================================
--- forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/wizards/NewProjectWizard.java
(original)
+++ forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/wizards/NewProjectWizard.java
Mon Aug  1 10:58:31 2005
@@ -107,8 +107,10 @@
 		try {
 			getContainer().run(false, true, op);
 		} catch (InvocationTargetException e) {
-			return false; // TODO: should open error dialog and log
+            logger.error("Failed to correctly setup the project", e);
+			return false; // FIXME: report this error to the user
 		} catch (InterruptedException e) {
+            logger.debug("Project setup appears to have been cancelled", e);
 			return false; // canceled
 		}
 		return true;



Mime
View raw message