From 7580e68824797a700388f7958f897dc6facaafb2 Mon Sep 17 00:00:00 2001 From: Safeer Jiwan Date: Mon, 22 Jul 2024 12:35:08 -0700 Subject: [PATCH] fix: wrap error --- cmd/ftl/cmd_serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ftl/cmd_serve.go b/cmd/ftl/cmd_serve.go index deda6ca24b..001de80f35 100644 --- a/cmd/ftl/cmd_serve.go +++ b/cmd/ftl/cmd_serve.go @@ -94,7 +94,7 @@ func (s *serveCmd) run(ctx context.Context, projConfig projectconfig.Config, ini err = observability.Init(ctx, "ftl-serve", ftl.Version, s.ObservabilityConfig) if err != nil { - return err + return fmt.Errorf("observability init failed: %w", err) } wg, ctx := errgroup.WithContext(ctx)