We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa5e611 commit d070755Copy full SHA for d070755
1 file changed
bash/bash.go
@@ -3,7 +3,6 @@ package bash
3
import (
4
"bufio"
5
"bytes"
6
- "context"
7
"fmt"
8
"io"
9
"net"
@@ -17,7 +16,6 @@ import (
17
16
"github.com/lainio/err2"
18
. "github.com/lainio/err2/try"
19
"github.com/vscode-lcode/lcode/v2/bash/webdav"
20
- "github.com/vscode-lcode/lcode/v2/util/err0"
21
"go.opentelemetry.io/otel"
22
)
23
@@ -60,9 +58,6 @@ func (sh *Bash) Serve(l net.Listener) (err error) {
60
58
}
61
59
62
func (sh *Bash) serve(conn net.Conn) (err error) {
63
- _, span := tracer.Start(context.Background(), "serve conn")
64
- defer span.End()
65
- defer err0.Record(&err, span)
66
defer err2.Handle(&err, func() {
67
conn.Close()
68
})
0 commit comments