private boolean isStatusSet ( ExecutionAttributes attrs ) { Boolean s = attrs . getAttribute ( STATUS_IS_SET ) ; return s != null && s ; }
For network errors there will not be a response so the status will not have been set . This method looks for a flag in the attributes to see if we need to close off the log entry for the attempt .