Skip to content

Commit

Permalink
e2pg/config: wrap error for building integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandotsmith committed Oct 11, 2023
1 parent dae03b9 commit e59a57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2pg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e59a57a

Please sign in to comment.