MCPcopy
hub / github.com/victorporof/Sublime-HTMLPrettify / handle_output_diagnostics

Function handle_output_diagnostics

src/py/utils/script_utils.py:99–109  ·  view source on GitHub ↗
(output)

Source from the content-addressed store, hash-verified

97 return None
98
99 def handle_output_diagnostics(output):
100 if get_pref("print_diagnostics"):
101 print(output)
102
103 file_parse_error = get_diagnostics_parse_fail(output)
104 if file_parse_error:
105 msg = "Ignoring malformed config file: " + file_parse_error.group(1)
106 if ok_cancel_dialog(msg):
107 msg = "Please fix the syntax errors in your config file and try again. See the console output for more information. Do you wish to file a bug instead?"
108 if ok_cancel_dialog(msg):
109 file_bug()
110
111
112 try:

Callers 1

prettify_verboseFunction · 0.85

Calls 3

get_prefFunction · 0.85
file_bugFunction · 0.85

Tested by

no test coverage detected