From 1700a98d4867353ee7603b782cf5233724b380aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 2 Apr 2024 19:55:09 +0200 Subject: [PATCH] Propagate unexpected exceptions in the wait exception handler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- tuned/utils/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuned/utils/commands.py b/tuned/utils/commands.py index db8d8b1..c671af1 100644 --- a/tuned/utils/commands.py +++ b/tuned/utils/commands.py @@ -447,7 +447,7 @@ class commands: def wait(self, terminate, time): try: return terminate.wait(time, False) - except: + except TypeError as e: return terminate.wait(time) def get_size(self, s):