DBZ-3812 More logging for JSON convertor deployer

This commit is contained in:
jcechace 2021-08-06 11:51:51 +02:00 committed by Jiri Pechanec
parent a3493045f9
commit 99118734c8

View File

@ -43,6 +43,7 @@ public void deploy(ConnectorConfigBuilder config) {
try (Response res = http.newCall(r).execute()) {
if (!res.isSuccessful()) {
LOGGER.error(res.request().url().toString());
LOGGER.error(res.body().toString());
throw new RuntimeException("Connector registration request returned status code '" + res.code() + "'");
}
LOGGER.info("Registered kafka connector '" + config.getConnectorName() + "'");