From 227530828323cf2a598d702a191d18fe0793a347 Mon Sep 17 00:00:00 2001
From: Felix Riehn <felix@matilda>
Date: Thu, 25 May 2023 16:00:11 +0200
Subject: [PATCH] this is worth an error

---
 corsika/detail/framework/core/Cascade.inl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/corsika/detail/framework/core/Cascade.inl b/corsika/detail/framework/core/Cascade.inl
index 65ea5034d..bb0d0b854 100644
--- a/corsika/detail/framework/core/Cascade.inl
+++ b/corsika/detail/framework/core/Cascade.inl
@@ -339,7 +339,8 @@ namespace corsika {
 
     auto const returnCode = sequence_.selectDecay(view, sample_process);
     if (returnCode != ProcessReturn::Decayed) {
-      CORSIKA_LOG_DEBUG("Particle did not decay!");
+      CORSIKA_LOG_ERROR("Particle {} did not decay!",
+                        get_name(view.getProjectile().getPID()));
     }
     setEventType(view, history::EventType::Decay);
     return returnCode;
-- 
GitLab