Skip to content

Commit

Permalink
villas-interface: Do not throw uncaught exceptions in a destructor.
Browse files Browse the repository at this point in the history
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
  • Loading branch information
n-eiling committed Aug 1, 2024
1 parent 389f3e7 commit 27ee174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpsim-villas/src/InterfaceWorkerVillas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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...");
Expand Down

0 comments on commit 27ee174

Please sign in to comment.