From 3c9ce19debab732dccdf2366af3429df1ebe9d60 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 30 Mar 2026 13:39:48 +0200 Subject: [PATCH] lib.ec.ssh.Paramiko: Fix exception logging The catch-block around Paramiko's connect code throws another exception, fix that. Signed-off-by: Jan Lindemann --- src/python/jw/pkg/lib/ec/ssh/Paramiko.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/jw/pkg/lib/ec/ssh/Paramiko.py b/src/python/jw/pkg/lib/ec/ssh/Paramiko.py index 8d67204f..d806ca87 100644 --- a/src/python/jw/pkg/lib/ec/ssh/Paramiko.py +++ b/src/python/jw/pkg/lib/ec/ssh/Paramiko.py @@ -26,7 +26,7 @@ class Paramiko(Base): # export allow_agent=True ) except Exception as e: - log(ERR, f'Failed to connect to {self.hostname} with key file {path_to_key} ({str(e)})') + log(ERR, f'Failed to connect to {self.hostname} ({str(e)})') raise s = ret.get_transport().open_session() # set up the agent request handler to handle agent requests from the server