diff --git a/src/sharedpv.cpp b/src/sharedpv.cpp index 8652fe5..08a6876 100644 --- a/src/sharedpv.cpp +++ b/src/sharedpv.cpp @@ -92,6 +92,7 @@ struct SharedPV::Impl : public std::enable_shared_from_this self->subscribers.emplace(std::move(sub)); }catch(std::exception& e){ + UnGuard U(G); log_warn_printf(logshared, "%s Client %s: Can't attach() monitor: %s\n", conn->name().c_str(), conn->peerName().c_str(), e.what()); // not re-throwing for consistency