This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new fc9c7f4  [SCB-601] print more specific logs when there are too many 
schema in environment
fc9c7f4 is described below

commit fc9c7f40f4d957152a602e68f3be889bf5b8c68f
Author: liubao <[email protected]>
AuthorDate: Thu May 31 11:32:59 2018 +0800

    [SCB-601] print more specific logs when there are too many schema in 
environment
---
 .../apache/servicecomb/common/rest/definition/RestOperationMeta.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/common/common-rest/src/main/java/org/apache/servicecomb/common/rest/definition/RestOperationMeta.java
 
b/common/common-rest/src/main/java/org/apache/servicecomb/common/rest/definition/RestOperationMeta.java
index ffc89be..ee7c401 100644
--- 
a/common/common-rest/src/main/java/org/apache/servicecomb/common/rest/definition/RestOperationMeta.java
+++ 
b/common/common-rest/src/main/java/org/apache/servicecomb/common/rest/definition/RestOperationMeta.java
@@ -85,7 +85,8 @@ public class RestOperationMeta {
     Method method = operationMeta.getMethod();
     Type[] genericParamTypes = method.getGenericParameterTypes();
     if (genericParamTypes.length != operation.getParameters().size()) {
-      throw new Error("Param count is not equal between swagger and method,  
path=" + absolutePath);
+      throw new Error("Param count is not equal between swagger and method, 
path=" + absolutePath
+        + ";operation=" + operationMeta.getMicroserviceQualifiedName());
     }
 
     // 初始化所有rest param

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to