Explorar el Código

Downgrade error to warning

tags/v0.3.2
Russ Garrett hace 5 años
padre
commit
b28a3238fd
No account linked to committer's email address
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      httplistener/github.go

+ 2
- 1
httplistener/github.go Ver fichero

@@ -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…
Cancelar
Guardar