MINOR: Include connector name in error message
Reviewers: Randall Hauch Chia-Ping Tsai
@@ -1365,9 +1365,9 @@ public class DistributedHerder extends AbstractHerder implements Runnable {
// from the HTTP request forwarding thread.
if (error != null) {
if (isPossibleExpiredKeyException(initialRequestTime, error)) {
- log.debug("Failed to reconfigure connector's tasks, possibly due to expired session key. Retrying after backoff");
+ log.debug("Failed to reconfigure connector's tasks ({}), possibly due to expired session key. Retrying after backoff", connName);
} else {
- log.error("Failed to reconfigure connector's tasks, retrying after backoff:", error);
+ log.error("Failed to reconfigure connector's tasks ({}), retrying after backoff:", connName, error);
}
addRequest(RECONFIGURE_CONNECTOR_TASKS_BACKOFF_MS,
new Callable<Void>() {
