Commit 38f02745 authored by lepdou's avatar lepdou

logger exception

parent 953b1ff1
...@@ -37,7 +37,7 @@ public class CreationListener { ...@@ -37,7 +37,7 @@ public class CreationListener {
try { try {
appAPI.createApp(env, appDTO); appAPI.createApp(env, appDTO);
} catch (HttpStatusCodeException e) { } catch (HttpStatusCodeException e) {
logger.error(ExceptionUtils.toString(e)); logger.error("call appAPI.createApp error.[{app}, {env}]", appDTO.getAppId(), env, e);
} }
} }
} }
...@@ -50,7 +50,7 @@ public class CreationListener { ...@@ -50,7 +50,7 @@ public class CreationListener {
try { try {
namespaceAPI.createOrUpdateAppNamespace(env, dto); namespaceAPI.createOrUpdateAppNamespace(env, dto);
} catch (HttpStatusCodeException e) { } catch (HttpStatusCodeException e) {
logger.error(ExceptionUtils.toString(e)); logger.error("call namespaceAPI.createOrUpdateAppNamespace error. [{app}, {env}]", dto.getAppId(), env, e);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment