DBZ-3812 More logging for JSON convertor deployer
This commit is contained in:
parent
a3493045f9
commit
99118734c8
@ -43,6 +43,7 @@ public void deploy(ConnectorConfigBuilder config) {
|
|||||||
try (Response res = http.newCall(r).execute()) {
|
try (Response res = http.newCall(r).execute()) {
|
||||||
if (!res.isSuccessful()) {
|
if (!res.isSuccessful()) {
|
||||||
LOGGER.error(res.request().url().toString());
|
LOGGER.error(res.request().url().toString());
|
||||||
|
LOGGER.error(res.body().toString());
|
||||||
throw new RuntimeException("Connector registration request returned status code '" + res.code() + "'");
|
throw new RuntimeException("Connector registration request returned status code '" + res.code() + "'");
|
||||||
}
|
}
|
||||||
LOGGER.info("Registered kafka connector '" + config.getConnectorName() + "'");
|
LOGGER.info("Registered kafka connector '" + config.getConnectorName() + "'");
|
||||||
|
Loading…
Reference in New Issue
Block a user