mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
Allow getJSON errors to be ignored
This change is mostly motivated to get a more stable CI build (we're building the Hugo site there, with Instagram and Twitter shortcodes sometimes failing). Fixes #7866
This commit is contained in:
parent
8cbe2bbfad
commit
fdfa4a5fe6
52 changed files with 318 additions and 221 deletions
|
@ -649,7 +649,7 @@ min_version = 0.55.0
|
|||
|
||||
c := qt.New(t)
|
||||
|
||||
c.Assert(logger.WarnCounter.Count(), qt.Equals, uint64(3))
|
||||
c.Assert(logger.LogCounters().WarnCounter.Count(), qt.Equals, uint64(3))
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue