flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit c30c52b371f6740fd22fed90250659dc1ec656ab
parent 729f3dd39dab2712dfb264dd67fb8b4aa1d7605a
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Thu, 14 Jan 2021 20:49:20 -0800

Make fix random crash I was seeing?

Diffstat:
Mlog.go | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/log.go b/log.go @@ -243,11 +243,13 @@ func dumpLogs() { err := row.Scan(&maxTime) if err != nil { // not perfect -- squashes errors + return } file, err := os.Open(c.LogFile) if err != nil { - log.Fatal(err) + // not perfect -- squashes errors + return } defer file.Close()