Better way to print the error message.
This commit is contained in:
parent
6685b8db4a
commit
fa52d7e2cb
@ -1237,9 +1237,7 @@ namespace Exiv2 {
|
||||
if (len < s) len = s;
|
||||
exif.copy(buf.pData_ + exif.tag() * 2, byteOrder);
|
||||
} else {
|
||||
#ifdef EXIV2_DEBUG_MESSAGES
|
||||
std::cerr << "packIfdId out-of-bounds error: s = " << std::dec << s << "\n";
|
||||
#endif
|
||||
EXV_ERROR << "packIfdId out-of-bounds error: s = " << std::dec << s << "\n";
|
||||
}
|
||||
}
|
||||
// Round the size to make it even.
|
||||
|
||||
@ -5,7 +5,7 @@ from system_tests import CaseMeta, path
|
||||
class test_issue_ghsa_mv9g_fxh2_m49m(metaclass=CaseMeta):
|
||||
|
||||
filename = path("$data_path/test_issue_ghsa_mv9g_fxh2_m49m.crw")
|
||||
commands = ["$exiv2 fi $filename"]
|
||||
commands = ["$exiv2 -q fi $filename"]
|
||||
stdout = [""]
|
||||
stderr = ["""Exiv2 exception in fixiso action for file $filename:
|
||||
$kerCorruptedMetadata
|
||||
|
||||
Loading…
Reference in New Issue
Block a user