diff --git a/src/main/java/org/ssssssss/magicapi/config/RequestHandler.java b/src/main/java/org/ssssssss/magicapi/config/RequestHandler.java index abc6decb..12e124cf 100644 --- a/src/main/java/org/ssssssss/magicapi/config/RequestHandler.java +++ b/src/main/java/org/ssssssss/magicapi/config/RequestHandler.java @@ -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();