diff --git a/corsika/detail/modules/sophia/InteractionModel.inl b/corsika/detail/modules/sophia/InteractionModel.inl index f43754142e2363f348f6b0df580cb725f58c2a5c..5bff71b641d64555690365f9eef029bb9cdce4d2 100644 --- a/corsika/detail/modules/sophia/InteractionModel.inl +++ b/corsika/detail/modules/sophia/InteractionModel.inl @@ -66,7 +66,9 @@ namespace corsika::sophia { // accepts only photon-nucleon interactions if (!isValid(projectileId, targetId, sqrtS)) { - CORSIKA_LOGGER_ERROR(logger_, "Invalid target/projectile/energy combination"); + CORSIKA_LOGGER_ERROR(logger_, + "Invalid target/projectile/energy combination: {},{},{} GeV", + projectileId, targetId, sqrtS / 1_GeV); throw std::runtime_error("SOPHIA: Invalid target/projectile/energy combination"); }