hugolib: Handle dropped error - hugo - [fork] hugo port for 9front
 (HTM) git clone git@git.drkhsh.at/hugo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a7b93e6564e6a4a7a3043b431e255ba716940408
 (DIR) parent 65871d5cf48d50935cf6e2d18483c32736c2730d
 (HTM) Author: Lars Lehtonen <lars.lehtonen@gmail.com>
       Date:   Thu, 24 Aug 2023 09:57:44 -0700
       
       hugolib: Handle dropped error
       
       
       Diffstat:
         M hugolib/site_new.go                 |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/hugolib/site_new.go b/hugolib/site_new.go
       @@ -195,7 +195,9 @@ func NewHugoSites(cfg deps.DepsCfg) (*HugoSites, error) {
        
                        s.PageCollections = newPageCollections(pm)
                        s.siteRefLinker, err = newSiteRefLinker(s)
       -
       +                if err != nil {
       +                        return nil, err
       +                }
                        // Set up the main publishing chain.
                        pub, err := publisher.NewDestinationPublisher(
                                firstSiteDeps.ResourceSpec,