MCPcopy Create free account
hub / github.com/catchpoint/WebPageTest.tsproxy / handle_error

Method handle_error

tsproxy.py:266–269  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

264 self.needs_close = True
265
266 def handle_error(self):
267 logging.warning('[{0:d}] Error'.format(self.client_id))
268 if self.state == self.STATE_CONNECTING:
269 self.SendMessage('connected', {'success': False, 'address': self.addr})
270
271 def handle_close(self):
272 global last_client_disconnected

Callers

nothing calls this directly

Calls 1

SendMessageMethod · 0.95

Tested by

no test coverage detected