refactoring

This commit is contained in:
Adnan Hajdarevic 2015-01-13 02:12:19 +01:00
parent 6af1966ac7
commit 363a5359bd
2 changed files with 10 additions and 35 deletions

View file

@ -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)
}
}