From df4c3d94d11d44c2d6349c5ce18767b0142c8fb3 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Wed, 22 May 2024 12:36:48 +0200 Subject: [PATCH] sd_fusing.py: Improve parameter write error message Change-Id: If42e16e310b1454f190b21d6cd5b662e1f17f598 Signed-off-by: Karol Lewandowski --- scripts/tizen/sd_fusing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py index 0d2bd228ba..c36fda51bb 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -210,7 +210,7 @@ class InitParams: stdin=subprocess.DEVNULL, stdout=None, stderr=None) if proc.returncode != 0: - logging.error("Failed to mount {d} in {mnt}") + logging.error(f"Failed to mount {d} in {mnt} (Has the device been initialized with --format?)") return for param, value in self.params: with open(os.path.join(mnt, param), 'w') as f: -- 2.34.1