Skip to content

Commit

Permalink
refactor: Add another point of printing
Browse files Browse the repository at this point in the history
  • Loading branch information
ENDERZOMBI102 committed Jan 20, 2024
1 parent 8bf717c commit 3baa951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/action_convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ bool ActionConvert::process_file(

// Convert to desired image format
if (vtfFile->GetFormat() != format && !vtfFile->ConvertInPlace(format)) {
std::cerr << fmt::format("Could not convert image data to {}\n", formatStr);
std::cerr << fmt::format("Could not convert image data to {}: {}\n", formatStr, get_last_vtflib_error());
return false;
}

Expand Down

0 comments on commit 3baa951

Please sign in to comment.