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
* 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;
@ -84,8 +84,7 @@ public abstract class MoteInterface extends Observable {
return instance;
} catch (Exception e) {
logger.fatal("Exception when creating " + interfaceClass + ": " + e);
e.printStackTrace();
logger.fatal("Exception when calling constructor of " + interfaceClass, e);
return null;
}
}