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

2019-03-13 Thread Adi Roiban
On Wed, 13 Mar 2019 at 16:07, Chris Withers wrote: > > >> Unless I'm missing something, Deferred.addTimeout is really unhelpful in > >> terms on providing context about *what* timed out. > >> TimeoutError(, 'Deferred') just isn't that useful. > >> > >> How come addTimeout doesn't let you specify a

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

2019-03-13 Thread Chris Withers
Unless I'm missing something, Deferred.addTimeout is really unhelpful in terms on providing context about *what* timed out. TimeoutError(, '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 m

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

2019-03-13 Thread Adi Roiban
Hi, On Wed, 13 Mar 2019 at 11:21, Chris Withers wrote: > > Hi All, > > Unless I'm missing something, Deferred.addTimeout is really unhelpful in > terms on providing context about *what* timed out. > TimeoutError(, 'Deferred') just isn't that useful. > > How come addTimeout doesn't let you specify

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

2019-03-13 Thread Chris Withers
Hi All, Unless I'm missing something, Deferred.addTimeout is really unhelpful in terms on providing context about *what* timed out. TimeoutError(, 'Deferred') just isn't that useful. How come addTimeout doesn't let you specify a textual reason, or otherwise provide some context about the time