From 041ede22e1b036ff52a3c9ac16c0e3bde30b7969 Mon Sep 17 00:00:00 2001 From: furtest Date: Fri, 30 Jan 2026 17:41:53 +0100 Subject: [PATCH] paths : make TimeoutExpired handling clearer --- src/unisync/paths.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unisync/paths.py b/src/unisync/paths.py index a13bc50..7865bba 100644 --- a/src/unisync/paths.py +++ b/src/unisync/paths.py @@ -73,9 +73,9 @@ class PathsManager: try: paths = self.user_select_files() break - except subprocess.TimeoutExpired: + except subprocess.TimeoutExpired as e: if input("Timeout expired do you want to retry (y/n): ") != "y": - raise + raise e self.write_new_paths(paths) def get_paths_to_sync(self) -> list[str]: