aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/site.go
diff options
context:
space:
mode:
authorRheingoldRiver <[email protected]>2022-02-24 04:14:32 -0600
committerBjørn Erik Pedersen <[email protected]>2022-02-24 23:04:06 +0100
commit0df096b86810df813f95f2d7e141dfc8aa448301 (patch)
tree6ce1ee4e97d3417dcfaeb9bee05c914cc34c65b4 /hugolib/site.go
parent308ad611b63df74aaa8c875350b72dfbf1691cbc (diff)
downloadhugo-0df096b86810df813f95f2d7e141dfc8aa448301.tar.gz
hugo-0df096b86810df813f95f2d7e141dfc8aa448301.zip
Update error message about failed menus in config.toml
Diffstat (limited to 'hugolib/site.go')
-rw-r--r--hugolib/site.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/site.go b/hugolib/site.go
index 57821ee93..d78a4e10c 100644
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -1420,14 +1420,14 @@ func (s *Site) getMenusFromConfig() navigation.Menus {
for name, menu := range menus {
m, err := cast.ToSliceE(menu)
if err != nil {
- s.Log.Errorf("unable to process menus in site config\n")
+ s.Log.Errorf("menus in site config contain errors\n")
s.Log.Errorln(err)
} else {
handleErr := func(err error) {
if err == nil {
return
}
- s.Log.Errorf("unable to process menus in site config\n")
+ s.Log.Errorf("menus in site config contain errors\n")
s.Log.Errorln(err)
}