diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2022-05-30 15:34:25 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2022-06-14 18:20:26 -0400 |
| commit | 55cb3e76f536bc8d4a6533bd7ea5202d464c5f81 (patch) | |
| tree | 461269fc26ece358dc67e6379c3b2b25999bd82f /python/__init__.py | |
| parent | 5e49eeb7c5f9ae7f7f8455682c12dd4c7b1d073d (diff) | |
Add error for loading UI plugins in headless
Diffstat (limited to 'python/__init__.py')
| -rw-r--r-- | python/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/__init__.py b/python/__init__.py index 2d0f7065..60b739e7 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -365,3 +365,8 @@ def connect_vscode_debugger(port=5678): debugpy.listen(("127.0.0.1", port)) debugpy.wait_for_client() execute_on_main_thread(lambda: debugpy.debug_this_thread()) + + +class UIPluginInHeadlessError(Exception): + def __init__(self, *args, **kwargs): + Exception.__init__(self, *args, **kwargs) |
