Skip to content

Commit

Permalink
fix: report configuration file loading failure as warning to avoid sh…
Browse files Browse the repository at this point in the history
…utting down FDW
  • Loading branch information
pdecat authored and kaidaguerre committed Jan 7, 2025
1 parent 24d8f15 commit 07709c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parse/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func LoadFileData(paths ...string) (map[string][]byte, hcl.Diagnostics) {

if err != nil {
diags = append(diags, &hcl.Diagnostic{
Severity: hcl.DiagError,
Severity: hcl.DiagWarning,
Summary: fmt.Sprintf("failed to read config file %s", configPath),
Detail: err.Error()})
continue
Expand Down

0 comments on commit 07709c7

Please sign in to comment.