From c1cf6ee3a716234c6af0d24060c9fd89a582adf3 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Mon, 18 Oct 2021 23:31:17 -0500 Subject: [PATCH] Fail upon error --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 353c6a8..cae3ad8 100644 --- a/main.go +++ b/main.go @@ -184,7 +184,7 @@ func main() { } err = generateHTML(getSites(*largest, wd), file) if err != nil { - fmt.Println(err) + log.Fatal(err) } } }