- Remove log on unknown event
This commit is contained in:
parent
3e887a7eba
commit
f9744b81d9
1 changed files with 1 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue