Skip to content

Commit a45c605

Browse files
authored
fix call function with a nil value error
1 parent 721ca5d commit a45c605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: internal/golangorgx/gopls/lsprpc/lsprpc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ func (f *forwarder) replyWithDebugAddress(outerCtx context.Context, r jsonrpc2.R
392392
addr, err = di.Serve(outerCtx, addr)
393393
if err != nil {
394394
event.Error(outerCtx, "starting debug server", err)
395-
return r(ctx, result, outerErr)
395+
return r(ctx, result, err)
396396
}
397397
urls := []string{"http://" + addr}
398398
modified.URLs = append(urls, modified.URLs...)

0 commit comments

Comments
 (0)