update crap logging

This commit is contained in:
Asim Aslam
2019-12-19 18:25:22 +00:00
parent 95ae2688a2
commit ae12fd1021
2 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,6 @@ package service
import (
"context"
"fmt"
"time"
"github.com/micro/go-micro/client"
@@ -34,7 +33,7 @@ func (d *debugClient) Log(since time.Time, count int, stream bool) (log.Stream,
// get the log stream
serverStream, err := d.Client.Log(context.Background(), req)
if err != nil {
return nil, fmt.Errorf("failed getting log stream: %s", err)
return nil, err
}
lg := &logStream{