fixed error output in log4j

This commit is contained in:
fros4943 2009-04-20 16:08:53 +00:00
parent a9cf47c97a
commit 8f8ac130fb

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: MoteInterface.java,v 1.5 2009/02/26 13:36:15 fros4943 Exp $ * $Id: MoteInterface.java,v 1.6 2009/04/20 16:08:53 fros4943 Exp $
*/ */
package se.sics.cooja; package se.sics.cooja;
@ -84,8 +84,7 @@ public abstract class MoteInterface extends Observable {
return instance; return instance;
} catch (Exception e) { } catch (Exception e) {
logger.fatal("Exception when creating " + interfaceClass + ": " + e); logger.fatal("Exception when calling constructor of " + interfaceClass, e);
e.printStackTrace();
return null; return null;
} }
} }