Skip to content

Commit

Permalink
fix: Actually display error if a file can't be loaded...
Browse files Browse the repository at this point in the history
  • Loading branch information
JJL772 committed Nov 20, 2022
1 parent c4543a1 commit 2d7c634
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/action_convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ bool ActionConvert::process_file(
}
// Add standard image data
else if (!add_image_data(srcFile, vtfFile.get(), procFormat, true)) {
std::cerr << "Could not add image data from file " << srcFile << "\n";
return false;
}

Expand Down

0 comments on commit 2d7c634

Please sign in to comment.