mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
hugolib: Handle dropped error
This commit is contained in:
parent
65871d5cf4
commit
a7b93e6564
1 changed files with 3 additions and 1 deletions
|
@ -195,7 +195,9 @@ func NewHugoSites(cfg deps.DepsCfg) (*HugoSites, error) {
|
||||||
|
|
||||||
s.PageCollections = newPageCollections(pm)
|
s.PageCollections = newPageCollections(pm)
|
||||||
s.siteRefLinker, err = newSiteRefLinker(s)
|
s.siteRefLinker, err = newSiteRefLinker(s)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
// Set up the main publishing chain.
|
// Set up the main publishing chain.
|
||||||
pub, err := publisher.NewDestinationPublisher(
|
pub, err := publisher.NewDestinationPublisher(
|
||||||
firstSiteDeps.ResourceSpec,
|
firstSiteDeps.ResourceSpec,
|
||||||
|
|
Loading…
Reference in a new issue