From f6372d321a32419b5d6017ef099e3aeb13d63cc5 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 16 Aug 2026 07:00:41 +0200 Subject: [PATCH] lib.ExecContext: Fix error message in _put() _put() catches a failure of the remote command sequence and logs "Failed to get from ", a phrase copied over from the get() path. This path, however, pushes content, so the message describes the wrong operation. Log a put-oriented message instead. Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2 Signed-off-by: Jan Lindemann --- src/python/jw/pkg/lib/ExecContext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/jw/pkg/lib/ExecContext.py b/src/python/jw/pkg/lib/ExecContext.py index adef74bc..55faf2c7 100644 --- a/src/python/jw/pkg/lib/ExecContext.py +++ b/src/python/jw/pkg/lib/ExecContext.py @@ -560,7 +560,7 @@ class ExecContext(Base): await self.erase(tmp_file) await self.close() except Exception as e: - msg = f'Failed to get {path} from {self.root} ({str(e)})' + msg = f'Failed to put content to {path} on {self.root} ({str(e)})' if throw: raise Exception(msg) log(ERR, msg)