From 3540f20c4690d04616a06208c9b3b33b144b8bbf Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 8 Jan 2024 12:52:10 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AD=E3=82=B0=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/utils/impl/XmlMetaParserImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; }