From 631971b0bbaf3258eb3ad250df3f2e1fdb98e64b Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Sat, 22 Jun 2024 15:40:37 -0700 Subject: [PATCH] printf instead of fata error --- wrp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrp.go b/wrp.go index 46364b9..288ee07 100644 --- a/wrp.go +++ b/wrp.go @@ -189,7 +189,7 @@ func (rq *wrpReq) printHTML(p printParams) { } err := htmlTmpl.Execute(rq.w, data) if err != nil { - log.Fatal(err) + fmt.Fprintf(rq.w, "Error: %v", err) } }