Skip to content

Commit

Permalink
tests: show error message when encoding failed (#1362)
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Nov 7, 2024
1 parent fcb7091 commit 751f7a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/extended_type.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ TEST_CASE("make extended type") {
heif_image_handle *output_image_handle;

err = heif_context_encode_image(ctx, input_image, encoder, nullptr, &output_image_handle);
if (err.message) { INFO("error message: " << err.message); }
REQUIRE(err.code == heif_error_Ok);

heif_item_id itemId;
Expand Down

0 comments on commit 751f7a1

Please sign in to comment.