提交 47c916b4 编写于 作者: J Jason Song 提交者: GitHub

Merge pull request #567 from lepdou/bugfix_stringFormat

bugfix: Invalid printf-style format string
...@@ -36,7 +36,7 @@ public class AppInfoChangedListener { ...@@ -36,7 +36,7 @@ public class AppInfoChangedListener {
appAPI.updateApp(env, appDTO); appAPI.updateApp(env, appDTO);
} catch (Throwable e) { } catch (Throwable e) {
logger.error("Update app's info failed. Env = {}, AppId = {}", env, appId, e); logger.error("Update app's info failed. Env = {}, AppId = {}", env, appId, e);
Tracer.logError(String.format("Update app's info failed. Env = {}, AppId = {}", env, appId), e); Tracer.logError(String.format("Update app's info failed. Env = %s, AppId = %s", env, appId), e);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册