cmd/sgblog/http.go | 2 +- common.go | 2 +- diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go index 26f2517f59e681f2da2b2cccda537052321ed7c82c0e3b8ee6be392f740233fa..790116be01b1b1e910c9569ec8992f15eb089becccb1f80ee741e2f4b5347a60 100644 --- a/cmd/sgblog/http.go +++ b/cmd/sgblog/http.go @@ -231,7 +231,7 @@ func makeErr(err error) { fmt.Print("Content-Type: text/plain; charset=UTF-8\n\n") fmt.Println(err) - panic(err) + log.Fatalln(err) } func checkETag(etag hash.Hash) { diff --git a/common.go b/common.go index 94ddcbd577448302cc3c29c312b95d68cdee57c497c8af4ce32032c9299e9b21..5f9306ad469f52c55f8b6f7aed9353d0e874b9b5ab63dfd97e0fe2438693a096 100644 --- a/common.go +++ b/common.go @@ -15,7 +15,7 @@ "go.cypherpunks.ru/recfile" ) const ( - Version = "0.20.0" + Version = "0.20.1" WhenFmt = "2006-01-02 15:04:05Z07:00" )