diff --git a/cmd/neofs-node/config/config.go b/cmd/neofs-node/config/config.go index c8ce47e6de..2e6c978b1f 100644 --- a/cmd/neofs-node/config/config.go +++ b/cmd/neofs-node/config/config.go @@ -2,6 +2,7 @@ package config import ( "fmt" + "log" "strings" "github.com/nspcc-dev/neofs-node/cmd/neofs-node/config/internal" @@ -58,7 +59,7 @@ func New(_ Prm, opts ...Option) *Config { if o.validate { err := validate.ValidateStruct(v) if err != nil { - panic(err) + log.Fatalf("failed config validation: %v", err) } }