diff --git a/src/mesh/SynchronizerManager.cpp b/src/mesh/SynchronizerManager.cpp
index b1301bd88a341cae40c348e1239f673636f5b818..a72191fd3bfc001c38e577384115bffaa441633c 100644
--- a/src/mesh/SynchronizerManager.cpp
+++ b/src/mesh/SynchronizerManager.cpp
@@ -18,6 +18,7 @@ SynchronizerManager::destroy()
   Assert(m_instance != nullptr, "SynchronizerManager was not created!");
 
   if (m_instance->m_connectivity_synchronizer_map.size() > 0) {
+    // LCOV_EXCL_START
     std::stringstream error;
     error << ": some connectivities are still registered\n";
     for (const auto& i_connectivity_synchronizer : m_instance->m_connectivity_synchronizer_map) {
@@ -25,6 +26,7 @@ SynchronizerManager::destroy()
             << '\n';
     }
     throw UnexpectedError(error.str());
+    // LCOV_EXCL_STOP
   }
   delete m_instance;
   m_instance = nullptr;