Skip to content

Commit 815f61f

Browse files
committed
Fix TomcatProperties class for EAP scenarios
1 parent 6798b81 commit 815f61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/groovy/noe/ews/server/tomcat/TomcatProperties.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class TomcatProperties {
2929
} else if (ewsVersion?.getMajorVersion() == 6) {
3030
TOMCAT_MAJOR_VERSION = "10"
3131
} else {
32-
throw new IllegalArgumentException("Unknown EWS version ${ewsVersion?.getMajorVersion()}")
32+
TOMCAT_MAJOR_VERSION = null
3333
}
3434
} else {
3535
TOMCAT_MAJOR_VERSION = tomcatVersion.getMajorVersion().toString()

0 commit comments

Comments
 (0)