Skip to content

Commit

Permalink
rootmodule: log errors after loading is finished
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Jul 13, 2020
1 parent aeefbad commit 801d4df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/terraform/rootmodule/root_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ func (rm *rootModule) load(ctx context.Context) error {
err = rm.UpdateSchemaCache(ctx, rm.pluginLockFile)
errs = multierror.Append(errs, err)

rm.logger.Printf("loading of root module %s finished: %s",
rm.Path(), errs)
return errs.ErrorOrNil()
}

Expand Down

0 comments on commit 801d4df

Please sign in to comment.