From 1964d4a4ca36cc54bf1be3fb291288475e9de95d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Ferr=C3=A3o?= <2031761+viniciusferrao@users.noreply.github.com> Date: Sun, 3 May 2026 01:50:30 -0300 Subject: [PATCH] Fix unbound exception variable in CalledProcessError handler --- confluent_server/confluent/syncfiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/syncfiles.py b/confluent_server/confluent/syncfiles.py index 4713effe..db851d74 100644 --- a/confluent_server/confluent/syncfiles.py +++ b/confluent_server/confluent/syncfiles.py @@ -198,7 +198,7 @@ async def sync_list_to_node(sl, node, suffixes, peerip=None): targip = peerip output, stderr = await util.check_output( 'rsync', '-rvLD', targdir + '/', 'root@[{}]:/'.format(targip)) - except subprocess.CalledProcessError: + except subprocess.CalledProcessError as e: unreadablefiles = [] for root, dirnames, filenames in os.walk(targdir): for filename in filenames: