Skip to content

Commit

Permalink
rootmodule: log errors after loading is finished (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored Jul 14, 2020
1 parent 8905f71 commit cf808bd
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 cf808bd

Please sign in to comment.