diff options
Diffstat (limited to 'svc/handlers.go')
-rw-r--r-- | svc/handlers.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svc/handlers.go b/svc/handlers.go index 3dcb84f..13555d5 100644 --- a/svc/handlers.go +++ b/svc/handlers.go @@ -3,7 +3,6 @@ package svc // import "github.com/getwtxt/getwtxt/svc" import ( "crypto/sha256" "fmt" - "log" "net/http" "strconv" "time" @@ -14,9 +13,7 @@ import ( func getEtag(modtime time.Time) string { shabytes, err := modtime.MarshalText() - if err != nil { - log.Printf("%v\n", err.Error()) - } + errLog("", err) return fmt.Sprintf("%x", sha256.Sum256(shabytes)) } |