Skip to content

Commit

Permalink
restore: Also print checkpoint warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Oct 6, 2023
1 parent f17f520 commit 6806495
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/restore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 6806495

Please sign in to comment.