From 27ee17417e124ad7ce2401487ed570c5e03bb855 Mon Sep 17 00:00:00 2001 From: Niklas Eiling Date: Thu, 1 Aug 2024 15:27:32 +0200 Subject: [PATCH] villas-interface: Do not throw uncaught exceptions in a destructor. Signed-off-by: Niklas Eiling --- dpsim-villas/src/InterfaceWorkerVillas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpsim-villas/src/InterfaceWorkerVillas.cpp b/dpsim-villas/src/InterfaceWorkerVillas.cpp index fbb9bcc5f..2a99ac6a7 100644 --- a/dpsim-villas/src/InterfaceWorkerVillas.cpp +++ b/dpsim-villas/src/InterfaceWorkerVillas.cpp @@ -35,7 +35,7 @@ InterfaceWorkerVillas::InterfaceWorkerVillas(const String &nodeConfig, void InterfaceWorkerVillas::open() { SPDLOG_LOGGER_INFO(mLog, "Opening InterfaceWorkerVillas..."); - logging.setLevel(mLog->level()); + Log::getInstance().setLevel(mLog->level()); if (!InterfaceWorkerVillas::villasInitialized) { SPDLOG_LOGGER_INFO(mLog, "Initializing Villas...");