Commit f9cd6feb authored by Dr. Martin Goik's avatar Dr. Martin Goik

Provide better logging

parent 065cdfb7
......@@ -141,6 +141,7 @@ public class Id2Topic {
final JSONObject newTopic = new JSONObject(EntityUtils.toString(response.getEntity()));
if (Response.Status.OK.getStatusCode() != response.getStatusLine().getStatusCode()) {
log.fatal(response.getStatusLine());
log.fatal("id=" + hdmId + ":" + newTopic.toString() + ", exiting!");
System.exit(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment