Sfoglia il codice sorgente

Downgrade error to warning

tags/v0.3.2
Russ Garrett 5 anni fa
parent
commit
b28a3238fd
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      httplistener/github.go

+ 2
- 1
httplistener/github.go Vedi File

@@ -34,7 +34,8 @@ func (hl *HTTPListener) githubHandler(w http.ResponseWriter, request *http.Reque
34 34
 		github.PullRequestEvent)
35 35
 
36 36
 	if err != nil {
37
-		log.Errorf("Error parsing github webhook: %s", err)
37
+		// This usually happens because we've received an event we don't need to handle.
38
+		log.Warnf("Error parsing github webhook: %s", err)
38 39
 		return
39 40
 	}
40 41
 

Loading…
Annulla
Salva