suppression de logs
This commit is contained in:
parent
21aec5f516
commit
fa9ec2cfbc
@ -61,8 +61,6 @@ func (e *eventStream) disconnect() {
|
||||
}
|
||||
|
||||
func (e *eventStream) listen(ctx context.Context) error {
|
||||
log.Info("eventStream.listen > start")
|
||||
|
||||
err := e.SSEClient.SubscribeChanRaw(e.Events)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to subscribe to seeclient")
|
||||
@ -72,7 +70,6 @@ func (e *eventStream) listen(ctx context.Context) error {
|
||||
defer func() {
|
||||
e.clearResourceSubscriptions()
|
||||
e.clearTransactionSubscriptions()
|
||||
log.Info("eventStream.listen > stop")
|
||||
}()
|
||||
|
||||
for {
|
||||
@ -90,8 +87,6 @@ func (e *eventStream) listen(ctx context.Context) error {
|
||||
continue
|
||||
}
|
||||
|
||||
fmt.Printf("DATA : %s\n", event.Data)
|
||||
|
||||
var notifyResponse EventStreamResponse
|
||||
err := json.NewDecoder(bytes.NewBuffer(event.Data)).Decode(¬ifyResponse)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user