Skip to content

Commit b9e5947

Browse files
authored
Merge pull request #169 from marekkopecky/tomcat-exception
Fix TomcatProperties class for EAP scenarios. This fix will need to be revisited
2 parents 6798b81 + 815f61f commit b9e5947

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)