[Twisted-Python] giving a reason when adding a timeout

Chris Withers chris at withers.org
Wed Mar 13 05:20:55 MDT 2019


Hi All,

Unless I'm missing something, Deferred.addTimeout is really unhelpful in 
terms on providing context about *what* timed out.
TimeoutError(<some number>, 'Deferred') just isn't that useful.

How come addTimeout doesn't let you specify a textual reason, or 
otherwise provide some context about the timeout?

Am I missing something obvious here?

Chris



More information about the Twisted-Python mailing list