MCPcopy Create free account
hub / github.com/nlweb-ai/NLWeb / get_errors

Method get_errors

scripts/run_tests_with_server.py:100–108  ·  view source on GitHub ↗

Get any server errors

(self)

Source from the content-addressed store, hash-verified

98 self.error_queue.put(line)
99
100 def get_errors(self):
101 """Get any server errors"""
102 errors = []
103 while True:
104 try:
105 errors.append(self.error_queue.get_nowait())
106 except queue.Empty:
107 break
108 return errors
109
110 def stop(self):
111 """Stop the server"""

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected