|
From: <pat...@us...> - 2011-03-04 16:27:51
|
Revision: 1234
http://cishell.svn.sourceforge.net/cishell/?rev=1234&view=rev
Author: pataphil
Date: 2011-03-04 16:27:45 +0000 (Fri, 04 Mar 2011)
Log Message:
-----------
* Very minor log message printing cleanup.
* Not reviewed (but doesn't need to be).
Modified Paths:
--------------
trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java
Modified: trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java
===================================================================
--- trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java 2011-03-02 21:54:21 UTC (rev 1233)
+++ trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java 2011-03-04 16:27:45 UTC (rev 1234)
@@ -324,9 +324,12 @@
try {
data[i] = converters[i][0].convert(data[i]);
} catch (ConversionException e) {
- log(LogService.LOG_ERROR,
- "Error: Unable to convert data for use by the "
- + "algorithm:\n " + e.getMessage(), e);
+ String logMessage = String.format(
+ "Error: Unable to convert data for use by the algorithm:%n %s",
+ e.getMessage());
+ log(LogService.LOG_ERROR, logMessage, e);
+ e.printStackTrace();
+
return false;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|