RemoteTaskActionClient: Better logging

This commit is contained in:
Gian Merlino 2013-03-11 15:23:45 -07:00
parent 34d6b3a7f0
commit 765e70bc8e
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,8 @@ public class RemoteTaskActionClient implements TaskActionClient
return jsonMapper.convertValue(responseDict.get("result"), taskAction.getReturnTypeReference()); return jsonMapper.convertValue(responseDict.get("result"), taskAction.getReturnTypeReference());
} catch(IOException e) { } catch(IOException e) {
log.warn(e, "Exception submitting action for task: %s", task.getId());
if (retryPolicy.hasExceededRetryThreshold()) { if (retryPolicy.hasExceededRetryThreshold()) {
throw e; throw e;
} else { } else {