From e59a57a9fed5fcf4420de5cb1f61715665312835 Mon Sep 17 00:00:00 2001 From: Ryan Smith Date: Tue, 10 Oct 2023 21:03:09 -0700 Subject: [PATCH] e2pg/config: wrap error for building integrations --- e2pg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2pg/config/config.go b/e2pg/config/config.go index 4d889554..b03bbd2a 100644 --- a/e2pg/config/config.go +++ b/e2pg/config/config.go @@ -87,7 +87,7 @@ func NewTasks(conf Config) ([]*e2pg.Task, error) { } eig, err := getIntegration(pgp, ig) if err != nil { - return nil, fmt.Errorf("unable to build integration: %s", ig.Name) + return nil, fmt.Errorf("unable to build integration %s: %w", ig.Name, err) } for _, src := range ig.Sources { intgsBySource[src] = append(intgsBySource[src], eig)