Commit 47c916b4 by Jason Song Committed by GitHub

Merge pull request #567 from lepdou/bugfix_stringFormat

bugfix: Invalid printf-style format string
parents d327f070 842e35b9
...@@ -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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment