Panic when MulticastInterfaces/Regex has errors.
shibe2 opened this issue · comments
Current behavior
yggdrasil-go/cmd/yggdrasil/main.go
Line 242 in 49c424e
MustCompile is like Compile but panics if the expression cannot be parsed.
Expected behavior
Print a message that points to MulticastInterfaces and includes error from regexp.Compile
. Then either exit or ignore the erroneous entry.
This looks like expected behavior: almost all config errors cause panic
almost all config errors cause panic
Gross.