Skip to content

Commit

Permalink
More info when failing a cast (#2430)
Browse files Browse the repository at this point in the history
* More info when failing a cast

* Update CcdbDatabase.cxx
Barthelemy authored Sep 23, 2024
1 parent 0f0d375 commit c63253e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/src/CcdbDatabase.cxx
Original file line number Diff line number Diff line change
@@ -359,7 +359,7 @@ std::shared_ptr<o2::quality_control::core::MonitorObject> CcdbDatabase::retrieve
// The object is either in a TFile or is a blob but it was stored with storeAsTFile as a full MO
mo.reset(dynamic_cast<MonitorObject*>(obj));
if (mo == nullptr) {
ILOG(Error, Devel) << "Could not cast the object " << fullPath << " to MonitorObject" << ENDM;
ILOG(Error, Devel) << "Could not cast the object " << fullPath << " to MonitorObject (objectVersion: " << objectVersion << ")" << ENDM;
return nullptr;
}
} else {

0 comments on commit c63253e

Please sign in to comment.