You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2018/04/16 09:36:53 UTC

[incubator-servicecomb-java-chassis] 06/13: Update ExceptionToResponseConverter.java

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

commit 91958ffe556d1564249abccd78e9e4b2c46feea8
Author: acsukesh <su...@huawei.com>
AuthorDate: Mon Apr 9 14:14:16 2018 +0530

    Update ExceptionToResponseConverter.java
---
 .../swagger/invocation/exception/ExceptionToResponseConverter.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swagger/swagger-invocation/invocation-core/src/main/java/org/apache/servicecomb/swagger/invocation/exception/ExceptionToResponseConverter.java b/swagger/swagger-invocation/invocation-core/src/main/java/org/apache/servicecomb/swagger/invocation/exception/ExceptionToResponseConverter.java
index 1d6e6e8..4c14ad8 100644
--- a/swagger/swagger-invocation/invocation-core/src/main/java/org/apache/servicecomb/swagger/invocation/exception/ExceptionToResponseConverter.java
+++ b/swagger/swagger-invocation/invocation-core/src/main/java/org/apache/servicecomb/swagger/invocation/exception/ExceptionToResponseConverter.java
@@ -23,7 +23,7 @@ public interface ExceptionToResponseConverter<T extends Throwable> {
   Class<T> getExceptionClass();
 
   default int getOrder() {
-    return 100;
+    return 0;
   }
 
   Response convert(SwaggerInvocation swaggerInvocation, T e);

-- 
To stop receiving notification emails like this one, please contact
liubao@apache.org.