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

Function handle_unknown_error

src/py/utils/script_utils.py:90–97  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

88 return None
89
90 def handle_unknown_error(err):
91 print(err)
92 msg = "An unhandled error was encountered while prettifying. See the console output for more information. Do you wish to file a bug?"
93 if ok_cancel_dialog(msg):
94 msg = "Please include detailed information in your bug report."
95 if ok_cancel_dialog(msg):
96 file_bug()
97 return None
98
99 def handle_output_diagnostics(output):
100 if get_pref("print_diagnostics"):

Callers 1

prettify_verboseFunction · 0.85

Calls 1

file_bugFunction · 0.85

Tested by

no test coverage detected