■ ■ ■ ■ ■ ■
internal/server/commands/listen.go
| skipped 122 lines |
123 | 123 | | for c, sc := range foundClients { |
124 | 124 | | result, message, err := sc.SendRequest("tcpip-forward", true, b) |
125 | 125 | | if !result { |
126 | | - | fmt.Fprintln(tty, "failed to start port on: ", c, ": ", message) |
| 126 | + | fmt.Fprintln(tty, "failed to start port on: ", c, ": ", string(message)) |
127 | 127 | | continue |
128 | 128 | | } |
129 | 129 | | |
| skipped 36 lines |
166 | 166 | | for c, sc := range foundClients { |
167 | 167 | | result, message, err := sc.SendRequest("cancel-tcpip-forward", true, b) |
168 | 168 | | if !result { |
169 | | - | fmt.Fprintln(tty, "failed to stop port on: ", c, ": ", message) |
| 169 | + | fmt.Fprintln(tty, "failed to stop port on: ", c, ": ", string(message)) |
170 | 170 | | continue |
171 | 171 | | } |
172 | 172 | | |
| skipped 51 lines |