Skip to content

Commit

Permalink
adding logging
Browse files Browse the repository at this point in the history
  • Loading branch information
untoldone committed May 4, 2015
1 parent 0c6a194 commit 3954519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handler/search_source_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func SearchSourceHandler (w http.ResponseWriter, req *http.Request) {

params, err := ParseSearchParams(req.URL.Query())
if err != nil {
log.Println(err)
api.Render(w, req, http.StatusBadRequest, err)
return
}
Expand Down

0 comments on commit 3954519

Please sign in to comment.