)]}'
{"ranger/templates/bin/_health-probe.py.tpl":[{"author":{"_account_id":30515,"name":"Sampat Ponnaganti","email":"sp810x@att.com","username":"sp810x@att.com"},"change_message_id":"9adae027e80fb950c2466521c8e0a6497f894faa","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    except requests.exceptions.ConnectionError as ce:"},{"line_number":68,"context_line":"        sys.stderr.write(\"Health probe ConnectionError Exp:%s\\n\" % str(ce))"},{"line_number":69,"context_line":"        sys.exit(1)"},{"line_number":70,"context_line":"    except requests.exceptions.ReadTimeout as to:"},{"line_number":71,"context_line":"        sys.stderr.write(\"Health probe ReadTimeout Exp:%s\\n\" % str(to))"},{"line_number":72,"context_line":"        sys.exit(1)"}],"source_content_type":"text/x-smarty","patch_set":1,"id":"9f560f44_46db2a20","line":69,"updated":"2020-09-02 21:46:57.000000000","message":"Best to set globals CONNECTION_ERROR\u003d1 READTIME_OUT\u003d2 UNEXPECTED-ERROR\u003d3 and raise the variable values sys.exit(CONNECTION_ERROR) so we have a different error code for different exception","commit_id":"b5cbc370781417cda449ba008c747ccf6d9794b9"}]}
