diff --git a/utils/src/main/java/one/nem/lacerta/utils/impl/XmlMetaParserImpl.java b/utils/src/main/java/one/nem/lacerta/utils/impl/XmlMetaParserImpl.java index 890968f8..efc6b1b3 100644 --- a/utils/src/main/java/one/nem/lacerta/utils/impl/XmlMetaParserImpl.java +++ b/utils/src/main/java/one/nem/lacerta/utils/impl/XmlMetaParserImpl.java @@ -50,7 +50,8 @@ public class XmlMetaParserImpl implements XmlMetaParser{ return meta; } catch (Exception e) { - e.printStackTrace(); + logger.error("deserialize", "something wrong"); + logger.trace("deserialize", e.getMessage()); } return null; } @@ -83,7 +84,8 @@ public class XmlMetaParserImpl implements XmlMetaParser{ return document; } catch (Exception e) { - e.printStackTrace(); + logger.error("serialize", "something wrong"); + logger.trace("serialize", e.getMessage()); } return null; }