diff --git a/netcard.go b/netcard.go index 493ab42..01c44a7 100644 --- a/netcard.go +++ b/netcard.go @@ -209,7 +209,10 @@ func (nt *NetTunnel) SendFrames(stream gen.FrameService_SendFramesServer) error log.Panic(err) } - buf, _ := Decompress(request.GetFrames()) + buf, err := Decompress(request.GetFrames()) + if err != nil { + log.Panic(err) + } nt.writer <- buf // frames := Decompress(request.GetFrames())