1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-13 20:04:49 +02:00

Ignore render errors

This commit is contained in:
Ralph Slooten
2025-02-08 15:15:25 +13:00
parent dac9fcf735
commit 61306e1ae4

View File

@@ -102,7 +102,7 @@ func GetMessageHTML(w http.ResponseWriter, r *http.Request) {
})
b := bytes.Buffer{}
html.Render(&b, doc)
_ = html.Render(&b, doc)
htmlStr = b.String()
nonce := r.Header.Get("mp-nonce")