mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-28 08:48:53 +00:00
Log unhandled output from the tahoe runner helper
This commit is contained in:
parent
4575deb27c
commit
50e033f263
@ -24,6 +24,9 @@ from twisted.internet.error import (
|
||||
from twisted.internet.interfaces import (
|
||||
IProcessProtocol,
|
||||
)
|
||||
from twisted.python.log import (
|
||||
msg,
|
||||
)
|
||||
from twisted.python.filepath import (
|
||||
FilePath,
|
||||
)
|
||||
@ -88,7 +91,10 @@ class _ProcessProtocolAdapter(ProcessProtocol, object):
|
||||
try:
|
||||
proto = self._fds[childFD]
|
||||
except KeyError:
|
||||
pass
|
||||
msg("Received unhandled output on {fd}: {output}",
|
||||
fd=childFD,
|
||||
output=data,
|
||||
)
|
||||
else:
|
||||
proto.dataReceived(data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user