mirror of
https://github.com/facundoolano/jorge.git
synced 2024-12-25 21:58:28 +01:00
print build file errors
This commit is contained in:
parent
2109d19c19
commit
97cc3937ee
1 changed files with 4 additions and 1 deletions
|
@ -280,7 +280,10 @@ func spawnBuildWorkers(site *site) (*sync.WaitGroup, chan string) {
|
|||
go func(files <-chan string) {
|
||||
defer wg.Done()
|
||||
for path := range files {
|
||||
site.buildFile(path)
|
||||
err := site.buildFile(path)
|
||||
if err != nil {
|
||||
fmt.Printf("error in %s: %s\n", path, err)
|
||||
}
|
||||
}
|
||||
}(files)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue