MCPcopy Index your code
hub / github.com/bugy/script-server / handle_exception_on_open

Method handle_exception_on_open

src/web/server.py:342–347  ·  view source on GitHub ↗
(self, e)

Source from the content-addressed store, hash-verified

340 return 'result_files/' + url_path
341
342 def handle_exception_on_open(self, e):
343 (status_code, message) = exception_to_code_and_message(e)
344 if status_code:
345 self.close(code=status_code, reason=message)
346 return
347 raise e
348
349
350@tornado.web.stream_request_body

Callers 1

openMethod · 0.95

Calls 2

closeMethod · 0.45

Tested by

no test coverage detected