Skip to content

Commit

Permalink
在请求接口打印异常日志时附带URL
Browse files Browse the repository at this point in the history
  • Loading branch information
javamxd committed Nov 3, 2020
1 parent 74d06fd commit 722a1b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ private Object invokeRequest(ApiInfo info, MagicScriptContext context, HttpServl
if (throwException) {
throw root;
}
logger.error("接口请求出错", root);
logger.error("接口{}请求出错", request.getRequestURI(),root);
return resultProvider.buildResult(-1, "系统内部出现错误");
} finally {
RequestContext.remove();
Expand Down

0 comments on commit 722a1b1

Please sign in to comment.