Skip to content

Commit 25cab48

Browse files
committed
Remove superfluous parameter from log statement.
1 parent e6b0def commit 25cab48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
7171
return
7272
}
7373
if repoUri == "" {
74-
msg := fmt.Sprintf("%s could not determine the repository URL from this request", reflect.TypeOf(hookType), err)
74+
msg := fmt.Sprintf("%s could not determine the repository URL from this request", reflect.TypeOf(hookType))
7575
log.Println(msg)
7676
http.Error(w, msg, http.StatusInternalServerError)
7777
return

0 commit comments

Comments
 (0)