Update Contract.java

This commit is contained in:
Marcin Grzejszczak
2023-06-14 22:20:57 +02:00
committed by GitHub
parent 730c1f140a
commit 066740b31a

View File

@@ -151,7 +151,7 @@ public class Contract {
if (dsl.getRequest() != null) {
if (dsl.request.getUrl() == null && dsl.request.getUrlPath() == null) {
throw new IllegalStateException(
"URL is missing for HTTP contract(exclude = { TraceWebClientAutoConfiguration.class })");
"URL is missing for HTTP contract");
}
if (dsl.request.getMethod() == null) {
throw new IllegalStateException("Method is missing for HTTP contract");