From 59ae5f7f628a82490caaa41ed28eec466f1db177 Mon Sep 17 00:00:00 2001 From: Jacek Maksymilian Chodak <jacek.maksymilian.chodak@cern.ch> Date: Fri, 9 Dec 2022 12:32:21 +0100 Subject: [PATCH 1/2] Closes #238 --- common/Configuration.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/Configuration.hpp b/common/Configuration.hpp index f60cc990c8..37b5866872 100644 --- a/common/Configuration.hpp +++ b/common/Configuration.hpp @@ -143,8 +143,7 @@ namespace cta { namespace common { } if (!utils::isValidUInt(strValue.c_str())) { - InvalidConfigEntry ex(category.c_str(), - key.c_str(), strValue.c_str()); + InvalidConfigEntry ex; ex.getMessage() << "Failed to get configuration entry " << category << ":" << key << ": Value is not a valid unsigned integer: value=" << strValue; -- GitLab From 93125b6e039319b2fc7a73762c75d5ebbaa7f7d0 Mon Sep 17 00:00:00 2001 From: Jacek Maksymilian Chodak <jacek.maksymilian.chodak@cern.ch> Date: Fri, 9 Dec 2022 12:39:01 +0100 Subject: [PATCH 2/2] Update ReleaseNotes.md --- ReleaseNotes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 69a390c631..b680be5983 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -6,6 +6,7 @@ - cta/CTA#230 - Modify CTA code to enforce VID uppercase ### Bug Fixes - cta/CTA#234 - Replace stoi with toUint64 in standalone cli tool +- cta/CTA#238 - Compilation fails when using cta::common::Configuration::getConfEntInt(...) ### Continuous Integration - cta/CTA#205 - Updating EOS4/EOS4 in versionlock for v4.8.95/v5.1.5 -- GitLab