Skip to content

Commit

Permalink
Improved output
Browse files Browse the repository at this point in the history
  • Loading branch information
joerx committed Aug 19, 2020
1 parent a2335eb commit 3b671f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/events/project_command_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,9 @@ func (p *DefaultProjectCommandBuilder) getTfVersion(ctx *CommandContext, absProj
module, diags := tfconfig.LoadModule(absProjDir)
if diags.HasErrors() {
ctx.Log.Err("trying to detect required version: %s", diags.Error())
for _, d := range diags {
ctx.Log.Debug("%s in %s:%d", d.Detail, d.Pos.Filename, d.Pos.Line)
}
return nil
}

Expand Down

0 comments on commit 3b671f1

Please sign in to comment.