Commit 38f02745 by lepdou

logger exception

parent 953b1ff1
......@@ -37,7 +37,7 @@ public class CreationListener {
try {
appAPI.createApp(env, appDTO);
} 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 {
try {
namespaceAPI.createOrUpdateAppNamespace(env, dto);
} 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