fix missing error return
This commit is contained in:
parent
2c660fa2e5
commit
9e81dc7fde
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ func forwardPorts(log *output.Logger, codespaceName string, ports []string) erro
|
|||
group.Go(func() error {
|
||||
listen, err := net.Listen("tcp", fmt.Sprintf(":%d", pair.local))
|
||||
if err != nil {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
defer listen.Close()
|
||||
log.Printf("Forwarding ports: remote %d <=> local %d\n", pair.remote, pair.local)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue