printf instead of fata error

This commit is contained in:
Antoni Sawicki 2024-06-22 15:40:37 -07:00
parent 23a7ba5cbf
commit 631971b0bb

2
wrp.go
View File

@ -189,7 +189,7 @@ func (rq *wrpReq) printHTML(p printParams) {
} }
err := htmlTmpl.Execute(rq.w, data) err := htmlTmpl.Execute(rq.w, data)
if err != nil { if err != nil {
log.Fatal(err) fmt.Fprintf(rq.w, "Error: %v", err)
} }
} }