IqTimeout now references the original sent stanza.
A little extra bit of docs for IqError.
This commit is contained in:
@@ -200,7 +200,7 @@ class Iq(RootStanza):
|
||||
StanzaBase.send(self, now=now)
|
||||
result = waitfor.wait(timeout)
|
||||
if not result:
|
||||
raise IqTimeout()
|
||||
raise IqTimeout(self)
|
||||
if result['type'] == 'error':
|
||||
raise IqError(result)
|
||||
return result
|
||||
|
Reference in New Issue
Block a user