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

Function handle_runtime_error

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

Source from the content-addressed store, hash-verified

79 return None
80
81 def handle_runtime_error(err):
82 print(err)
83 msg = "A runtime error was encountered in the prettifier. See the console output for more information. Do you wish to file a bug?"
84 if ok_cancel_dialog(msg):
85 msg = "Please include detailed information in your bug report."
86 if ok_cancel_dialog(msg):
87 file_bug()
88 return None
89
90 def handle_unknown_error(err):
91 print(err)

Callers 1

prettify_verboseFunction · 0.85

Calls 1

file_bugFunction · 0.85

Tested by

no test coverage detected