[jbosstools-commits] JBoss Tools SVN: r23306 - trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Jul 8 04:44:15 EDT 2010


Author: lzoubek at redhat.com
Date: 2010-07-08 04:44:14 -0400 (Thu, 08 Jul 2010)
New Revision: 23306

Modified:
   trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfigurator.java
Log:
SWTBot ext: do not print whole stack trace on error

Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfigurator.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfigurator.java	2010-07-08 08:31:34 UTC (rev 23305)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/TestConfigurator.java	2010-07-08 08:44:14 UTC (rev 23306)
@@ -84,8 +84,8 @@
 		try {
 			currentConfig = new TestConfiguration("default", "");
 		} catch (Exception e) {
-			// TODO Auto-generated catch block
-			e.printStackTrace();
+			// log only message, nothing 
+			log.error(e.getMessage());
 		}
 
 	}



More information about the jbosstools-commits mailing list