diff options
author | Harald Musum <musum@verizonmedia.com> | 2021-04-05 19:44:13 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2021-04-05 19:44:13 +0200 |
commit | 428bb7cc42231b959d218094e211053b39b5121b (patch) | |
tree | f268f762a4a23cdd035be3e51117eab3925bda45 /configserver | |
parent | 36438491bdb0bfdd0c9d6e894e6ae99b9468e5ef (diff) |
Actually throw exception
Diffstat (limited to 'configserver')
-rw-r--r-- | configserver/src/main/java/com/yahoo/vespa/config/server/rpc/security/MultiTenantRpcAuthorizer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/security/MultiTenantRpcAuthorizer.java b/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/security/MultiTenantRpcAuthorizer.java index 8353e3fab1f..4dfa8384822 100644 --- a/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/security/MultiTenantRpcAuthorizer.java +++ b/configserver/src/main/java/com/yahoo/vespa/config/server/rpc/security/MultiTenantRpcAuthorizer.java @@ -161,7 +161,7 @@ public class MultiTenantRpcAuthorizer implements RpcAuthorizer { JrtErrorCode error = isAuthorizationException ? JrtErrorCode.UNAUTHORIZED : JrtErrorCode.AUTHORIZATION_FAILED; request.setError(error.code, errorMessage); request.returnRequest(); - throwUnchecked(throwable); // rethrow exception to ensure that subsequent completion stages are not executed (don't execute implementation of rpc method). + throw throwUnchecked(throwable); // rethrow exception to ensure that subsequent completion stages are not executed (don't execute implementation of rpc method). } // TODO Make peer identity mandatory once TLS mixed mode is removed |