Skip to content

Commit 368b329

Browse files
committed
print host and port when bootstrapper fails
1 parent 81fb44d commit 368b329

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/marklogic/client/example/util/Bootstrapper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ else if (authType == Authentication.DIGEST)
170170

171171
if (statusCode >= 300) {
172172
throw new RuntimeException(
173-
"Failed to create REST server: "+
173+
"Failed to create REST server using host=" + host +
174+
" and port=" + configPort + ": "+
174175
statusCode+" "+
175176
statusPhrase+"\n"+
176177
"Please check the server log for detail"

0 commit comments

Comments
 (0)