You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("failed to send port refresh message: %w", err)
}
if!res {
returnfmt.Errorf("failed to refresh ports: %w", err)
}
returnerr
}
I have no opinion on what the message should say. Happy to open a PR with your recommendation.
Separately, as a minor nit reading this code, it seems like it would be better for the final return on this method to be return nil, since again, no other value is possible.
The text was updated successfully, but these errors were encountered:
In looking at the SSH spec, a false boolean return seems to be an occurrence of the server sending SSH_MSG_REQUEST_FAILURE, which happens when "If the recipient does not recognize or support the request"
Description
Someone shared this error log for
gh cs ssh
(used to connect to GitHub codespaces overssh
):Looking at the code where this error is returned, there doesn't appear to be any case in which the error will be non-nil:
dev-tunnels/go/tunnels/client.go
Lines 210 to 219 in 845d75c
I have no opinion on what the message should say. Happy to open a PR with your recommendation.
Separately, as a minor nit reading this code, it seems like it would be better for the final return on this method to be
return nil
, since again, no other value is possible.The text was updated successfully, but these errors were encountered: