Log unhandled output from the tahoe runner helper

This commit is contained in:
Jean-Paul Calderone 2021-02-12 14:37:53 -05:00
parent 4575deb27c
commit 50e033f263

View File

@ -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)