mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 17:19:17 +08:00
refactoring
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ func hookHandler(req *http.Request, params martini.Params) string {
|
||||
err := decoder.Decode(&p)
|
||||
|
||||
if err != nil {
|
||||
l4g.Warn("Error occurred while trying to parse the payload as JSON")
|
||||
l4g.Warn("Error occurred while trying to parse the payload as JSON: %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user