diff --git a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java index 50d5a87b9ad..a38f2097705 100644 --- a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java +++ b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java @@ -527,7 +527,7 @@ public final class TokenService { listener.onResponse(null); } } - } catch (IOException e) { + } catch (Exception e) { // could happen with a token that is not ours if (logger.isDebugEnabled()) { logger.debug("built in token service unable to decode token", e);