1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Fix some recently introduced error handling issues

Updates #10953
This commit is contained in:
Bjørn Erik Pedersen
2023-05-18 10:36:48 +02:00
parent 1155bbca9d
commit 834b3d7e41
4 changed files with 72 additions and 37 deletions

View File

@@ -338,9 +338,6 @@ func (r *rootCommand) Run(ctx context.Context, cd *simplecobra.Commandeer, args
defer r.timeTrack(time.Now(), "Built")
}
err := b.build()
if err != nil {
r.Println("Error:", err.Error())
}
return err
}()