1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

More logging for webhooks

This commit is contained in:
Maksym Pavlenko
2017-11-01 12:10:26 -07:00
parent 28b362e313
commit fe290a114f

View File

@@ -216,6 +216,7 @@ func (h handler) webhook(c *gin.Context) {
}
if !valid {
log.Printf("! webhooks signatures are not equal (header: %s)", signature)
c.Status(http.StatusUnauthorized)
return
}