- Remove log on unknown event

This commit is contained in:
Alexander Kiryukhin 2018-12-22 20:53:33 +03:00
parent 3e887a7eba
commit f9744b81d9
No known key found for this signature in database
GPG key ID: 5579837FDBF65965

View file

@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"io/ioutil"
"log"
"net/http"
"net/url"
"time"
@ -76,7 +75,7 @@ func (a *API) FetchEvents(ctx context.Context, ch chan interface{}) error {
}
ch <- ev
default:
log.Printf("Unknown event %s: %#v", ce.Type, e)
ch <- ce
}
}
select {