diff --git a/core/src/main/java/org/elasticsearch/bootstrap/Seccomp.java b/core/src/main/java/org/elasticsearch/bootstrap/Seccomp.java index 148de82d988..1088225f684 100644 --- a/core/src/main/java/org/elasticsearch/bootstrap/Seccomp.java +++ b/core/src/main/java/org/elasticsearch/bootstrap/Seccomp.java @@ -379,7 +379,7 @@ final class Seccomp { } else if (Constants.MAC_OS_X) { macImpl(tmpFile); } else { - logger.debug("syscall filtering not supported for OS {}", Constants.OS_NAME); + throw new UnsupportedOperationException("syscall filtering not supported for OS: '" + Constants.OS_NAME + "'"); } } }