From de5257ece9dd1a435e891795781f245a0519ebff Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Thu, 25 Jun 2026 10:12:05 +0200 Subject: [PATCH] fix: add warning to log if events endpoint unconfigured --- services/collaboration/pkg/command/server.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/collaboration/pkg/command/server.go b/services/collaboration/pkg/command/server.go index c1ff55b2bf..3826183f4f 100644 --- a/services/collaboration/pkg/command/server.go +++ b/services/collaboration/pkg/command/server.go @@ -176,7 +176,9 @@ func Server(cfg *config.Config) *cobra.Command { var optionalHTTPServerOptions []http.Option var notificationService notification.Service - if cfg.Events.Endpoint != "" { // notifications are optional + if cfg.Events.Endpoint == "" { + logger.Warn().Msg("Events endpoint is not configured, notifications from the collaboration service will not work") + } else { connName := generators.GenerateConnectionName(cfg.Service.Name, generators.NTypeBus) natsStream, err := stream.NatsFromConfig(connName, true, stream.NatsConfig(cfg.Events)) if err != nil {