include error message here too
Ted Unangst tedu@tedunangst.com
Fri, 11 Sep 2020 15:52:35 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
web.go
→
web.go
@@ -349,7 +349,7 @@ savingthrow(keyname)
keyname, err = httpsig.VerifyRequest(r, payload, zaggy) } if err != nil { - log.Printf("inbox message failed signature for %s from %s", keyname, r.Header.Get("X-Forwarded-For")) + log.Printf("inbox message failed signature for %s from %s: %s", keyname, r.Header.Get("X-Forwarded-For"), err) if keyname != "" { log.Printf("bad signature from %s", keyname) io.WriteString(os.Stdout, "bad payload\n")