config: don't panic on parse error of variables
This commit is contained in:
parent
4f57437144
commit
de1c23617a
|
@ -83,7 +83,8 @@ variable:
|
||||||
var err error
|
var err error
|
||||||
$$, err = NewInterpolatedVariable($1)
|
$$, err = NewInterpolatedVariable($1)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
exprErrors = append(exprErrors, fmt.Errorf(
|
||||||
|
"Error parsing variable '%s': %s", $1, err))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue