From 55cb3e76f536bc8d4a6533bd7ea5202d464c5f81 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 30 May 2022 15:34:25 -0400 Subject: Add error for loading UI plugins in headless --- python/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python/__init__.py') 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) -- cgit v1.3.1