Skip to content

Commit

Permalink
Remove superfluous parameter from log statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
orrc committed Jun 24, 2014
1 parent e6b0def commit 25cab48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
return
}
if repoUri == "" {
msg := fmt.Sprintf("%s could not determine the repository URL from this request", reflect.TypeOf(hookType), err)
msg := fmt.Sprintf("%s could not determine the repository URL from this request", reflect.TypeOf(hookType))
log.Println(msg)
http.Error(w, msg, http.StatusInternalServerError)
return
Expand Down

0 comments on commit 25cab48

Please sign in to comment.