mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-01 10:46:42 +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 (
|
from twisted.internet.interfaces import (
|
||||||
IProcessProtocol,
|
IProcessProtocol,
|
||||||
)
|
)
|
||||||
|
from twisted.python.log import (
|
||||||
|
msg,
|
||||||
|
)
|
||||||
from twisted.python.filepath import (
|
from twisted.python.filepath import (
|
||||||
FilePath,
|
FilePath,
|
||||||
)
|
)
|
||||||
@ -88,7 +91,10 @@ class _ProcessProtocolAdapter(ProcessProtocol, object):
|
|||||||
try:
|
try:
|
||||||
proto = self._fds[childFD]
|
proto = self._fds[childFD]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
msg("Received unhandled output on {fd}: {output}",
|
||||||
|
fd=childFD,
|
||||||
|
output=data,
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
proto.dataReceived(data)
|
proto.dataReceived(data)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user