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:
@@ -102,7 +102,7 @@ func GetMessageHTML(w http.ResponseWriter, r *http.Request) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
b := bytes.Buffer{}
|
b := bytes.Buffer{}
|
||||||
html.Render(&b, doc)
|
_ = html.Render(&b, doc)
|
||||||
htmlStr = b.String()
|
htmlStr = b.String()
|
||||||
|
|
||||||
nonce := r.Header.Get("mp-nonce")
|
nonce := r.Header.Get("mp-nonce")
|
||||||
|
Reference in New Issue
Block a user