From 56a6174a6f84eedcc735d6e12cb470552623a894 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 6 Jan 2026 15:58:37 -0500 Subject: [PATCH] JEvent: fix printf-style JException call --- src/libraries/JANA/JEvent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/JANA/JEvent.h b/src/libraries/JANA/JEvent.h index 511fe1bbd..4ce518fcd 100644 --- a/src/libraries/JANA/JEvent.h +++ b/src/libraries/JANA/JEvent.h @@ -533,7 +533,7 @@ const typename T::collection_type* JEvent::GetCollection(std::string name, bool auto collection = GetCollectionBase(name, throw_on_missing); auto* typed_collection = dynamic_cast(collection); if (throw_on_missing && typed_collection == nullptr) { - throw JException("Databundle with uniquename '%s' does not contain %s", JTypeInfo::demangle().c_str()); + throw JException("Databundle with uniquename '%s' does not contain %s", name.c_str(), JTypeInfo::demangle().c_str()); } return typed_collection; }