Skip to content

Commit

Permalink
Add more ErrorContext (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Apr 4, 2023
2 parents a3f3645 + 03e838a commit 6ac5521
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Server::Server() : world_model_(new WorldModel(&property_key_db_))

Server::~Server()
{
ErrorContext errc("Server", "destructor");
}

// ----------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -455,6 +456,7 @@ void Server::storeEntityMeasurements(const std::string& path) const

void Server::publishStatistics()
{
ErrorContext errc("Server", "publishStatistics");
std::stringstream s;

s << "[plugins]" << std::endl;
Expand Down

0 comments on commit 6ac5521

Please sign in to comment.