mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-22 21:32:32 +00:00
refactoring
This commit is contained in:
parent
6af1966ac7
commit
363a5359bd
2 changed files with 10 additions and 35 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue