From 7587b038282e46f159222a11c3fe173c5d3a335a Mon Sep 17 00:00:00 2001 From: jeffser Date: Sun, 13 Oct 2024 15:21:39 -0600 Subject: [PATCH] Added Exception as e so it can catch everything --- src/connection_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection_handler.py b/src/connection_handler.py index 9b32a21..5dbae1d 100644 --- a/src/connection_handler.py +++ b/src/connection_handler.py @@ -27,7 +27,7 @@ def log_output(pipe): elif 'msg="amdgpu is supported"' in line: window.ollama_information_label.set_label(_("Using AMD GPU type '{}'").format(line.split('=')[-1])) window.ollama_information_label.set_css_classes(['dim-label', 'success']) - except: + except Exception as e: pass class instance():