Skip to content

Commit

Permalink
provide a clear list of supported containers
Browse files Browse the repository at this point in the history
When displaying "Unsupported servlet container," provide a clear list of supported containers to help users troubleshoot the issue.
  • Loading branch information
ljcyu committed Jul 30, 2024
1 parent 3198fed commit 300066c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class ServletContainerConfig {
servletContainer = servletContainer ?: 'jetty11'
def result = configs[servletContainer.toString()]
if(!result)
throw new Exception("Unsupported servlet container: $servletContainer")
throw new Exception("Unsupported servlet container: $servletContainer. Only ${configs.keySet()} are supported")
result
}

Expand Down

0 comments on commit 300066c

Please sign in to comment.