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

Function handle_unknown_os_error

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

Source from the content-addressed store, hash-verified

65 return None
66
67 def handle_unknown_os_error(err):
68 print(err)
69 msg = "An unhandled OS error was encountered while prettifying. This usually means Node.js was not found in the default path. Please specify the location."
70 if ok_cancel_dialog(msg):
71 open_sublime_settings(window)
72 return None
73
74 def handle_syntax_error(err):
75 print(err)

Callers 1

prettify_verboseFunction · 0.85

Calls 1

open_sublime_settingsFunction · 0.85

Tested by

no test coverage detected