From bdc1388a123476a09a122e413ebeecfe565261d0 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 e5fbbc75f2..ee380ebfc8 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -211,7 +211,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