def _get_error(self, stanza):
if stanza:<EOL><INDENT>logger.debug("<STR_LIT>".format(<EOL>stanza.error.condition_name))<EOL><DEDENT>else:<EOL><INDENT>logger.debug("<STR_LIT>")<EOL><DEDENT>self._event_queue.put(RosterNotReceivedEvent(self, stanza))<EOL>
Handle failure of the roster request.