We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9636068 + 2dc889c commit e8aadaeCopy full SHA for e8aadae
labgrid/remote/client.py
@@ -2169,6 +2169,13 @@ def main():
2169
except Exception: # pylint: disable=broad-except
2170
traceback.print_exc(file=sys.stderr)
2171
exitcode = 2
2172
+ if not args.debug:
2173
+ # This is a workround for the gRPC issue
2174
+ # https://github.com/grpc/grpc/issues/38679.
2175
+ # Since Python 3.12, an empty exception message is printed from gRPC
2176
+ # during shutdown, although nothing seems to go wrong. As this is
2177
+ # confusing for users, suppress the message by closing stderr.
2178
+ os.close(sys.stderr.fileno())
2179
exit(exitcode)
2180
else:
2181
parser.print_help(file=sys.stderr)
0 commit comments