From 6806495ca7df744f635be515c5cdf938ad49ea82 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 6 Oct 2023 20:58:13 +0200 Subject: restore: Also print checkpoint warning messages --- src/restore.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/restore.c') diff --git a/src/restore.c b/src/restore.c index 1d34a18..8063f08 100644 --- a/src/restore.c +++ b/src/restore.c @@ -4482,6 +4482,10 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit } else { info("Checkpoint started id: 0x%" PRIX64 " (%s)\n", ckpt_id, ckpt_name); } + node = plist_dict_get_item(message, "CHECKPOINT_WARNING"); + if (node) { + info("Checkpoint WARNING id: 0x%" PRIX64 " result=%" PRIi64 ": %s\n", ckpt_id, ckpt_res, plist_get_string_ptr(node, NULL)); + } node = plist_dict_get_item(message, "CHECKPOINT_ERROR"); if (node) { info("Checkpoint FAILURE id: 0x%" PRIX64 " result=%" PRIi64 ": %s\n", ckpt_id, ckpt_res, plist_get_string_ptr(node, NULL)); -- cgit v1.1-32-gdbae