From 07709c7e9f431d21c9637c5615064ce195b24e43 Mon Sep 17 00:00:00 2001 From: Patrick Decat Date: Wed, 18 Dec 2024 11:01:56 +0100 Subject: [PATCH] fix: report configuration file loading failure as warning to avoid shutting down FDW --- parse/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse/parser.go b/parse/parser.go index c11a4a29..e815efa4 100644 --- a/parse/parser.go +++ b/parse/parser.go @@ -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