Print reporting error
This commit is contained in:
4
main.go
4
main.go
@@ -81,7 +81,7 @@ func main() {
|
|||||||
log.Println("Done!")
|
log.Println("Done!")
|
||||||
|
|
||||||
log.Printf("Writing report to '%s'...", *output)
|
log.Printf("Writing report to '%s'...", *output)
|
||||||
if rep.Report(out) != nil {
|
if err = rep.Report(out); err != nil {
|
||||||
log.Println("Failed to report!")
|
log.Printf("Failed to report: %s", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user