You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2017/04/10 15:24:48 UTC

svn commit: r1790856 - /qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/filter/ExceptionHandlingFilter.java

Author: orudyy
Date: Mon Apr 10 15:24:48 2017
New Revision: 1790856

URL: http://svn.apache.org/viewvc?rev=1790856&view=rev
Log:
QPID-7719: Change response code from SC_GATEWAY_TIMEOUT to SC_INTERNAL_SERVER_ERROR

Modified:
    qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/filter/ExceptionHandlingFilter.java

Modified: qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/filter/ExceptionHandlingFilter.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/filter/ExceptionHandlingFilter.java?rev=1790856&r1=1790855&r2=1790856&view=diff
==============================================================================
--- qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/filter/ExceptionHandlingFilter.java (original)
+++ qpid/java/trunk/broker-plugins/management-http/src/main/java/org/apache/qpid/server/management/plugin/filter/ExceptionHandlingFilter.java Mon Apr 10 15:24:48 2017
@@ -71,7 +71,7 @@ public class ExceptionHandlingFilter imp
 
             if (e instanceof  ServerScopedRuntimeException)
             {
-                sendError((ServerScopedRuntimeException)e, servletResponse, HttpServletResponse.SC_GATEWAY_TIMEOUT);
+                sendError((ServerScopedRuntimeException)e, servletResponse, HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
             }
             throw e;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org