mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
15.26.2016 032c2b39a22ab99ac89b768d3ae8d275ac4cd931
Minor fix: trap run time exceptions and log them
1 files modified
3 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPConnectionHandler.java 3 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/HTTPConnectionHandler.java
@@ -953,7 +953,8 @@
              @Override
              public void run()
              {
                next.handle(context, request).thenOnResultOrException(promise, promise);
                // Trap and forward runtime exceptions.
                next.handle(context, request).thenOnResult(promise).thenOnRuntimeException(promise);
              }
            }));
      }