From 0df096b86810df813f95f2d7e141dfc8aa448301 Mon Sep 17 00:00:00 2001 From: RheingoldRiver <18037011+RheingoldRiver@users.noreply.github.com> Date: Thu, 24 Feb 2022 04:14:32 -0600 Subject: Update error message about failed menus in config.toml --- hugolib/site.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hugolib/site.go') 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) } -- cgit v1.2.3