metadata: catch std::exception instead of Exiv2::AnyError for better robustness
(cherry picked from commit 0e2d9332f633b060bd4d5cbcd9d47009bab0c46c)
This commit is contained in:
committed by
Lawrence Lee
parent
e7fdad875a
commit
e90ffe979b
@@ -502,7 +502,7 @@ void IPTCPanel::setImageData (const FramesMetaData* id)
|
||||
(*embeddedData)[tag.key()].push_back(tag.toString());
|
||||
}
|
||||
}
|
||||
} catch (const Exiv2::AnyError& exc) {
|
||||
} catch (const std::exception& exc) {
|
||||
embeddedData->clear();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user