From 1bd27641fe6c56c7c7b11e668b4f01d106336098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piet=20G=C3=B6mpel?= Date: Tue, 15 Oct 2024 11:46:57 +0200 Subject: [PATCH] Removed catching out_of_range. Can't be thrown anymore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Piet Gömpel --- modules/API/API.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/API/API.cpp b/modules/API/API.cpp index 6b6e4c99f..b6b204252 100644 --- a/modules/API/API.cpp +++ b/modules/API/API.cpp @@ -511,8 +511,6 @@ void API::init() { evse_energy_sink.call_set_external_limits(external_limits); } catch (const std::invalid_argument& e) { EVLOG_warning << "Invalid limit: No conversion of given input could be performed."; - } catch (const std::out_of_range& e) { - EVLOG_warning << "Invalid limit: Out of range."; } }); @@ -526,8 +524,6 @@ void API::init() { evse_energy_sink.call_set_external_limits(external_limits); } catch (const std::invalid_argument& e) { EVLOG_warning << "Invalid limit: No conversion of given input could be performed."; - } catch (const std::out_of_range& e) { - EVLOG_warning << "Invalid limit: Out of range."; } }); } else {