MCPcopy Index your code
hub / github.com/coder/coder / handleRegisterFailure

Method handleRegisterFailure

enterprise/wsproxy/wsproxy.go:608–616  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

606}
607
608func (s *Server) handleRegisterFailure(err error) {
609 if s.ctx.Err() != nil {
610 return
611 }
612 s.Logger.Fatal(s.ctx,
613 "failed to periodically re-register workspace proxy with primary Coder deployment",
614 slog.Error(err),
615 )
616}
617
618func (s *Server) buildInfo(rw http.ResponseWriter, r *http.Request) {
619 httpapi.Write(r.Context(), rw, http.StatusOK, codersdk.BuildInfoResponse{

Callers

nothing calls this directly

Calls 3

ErrMethod · 0.80
FatalMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected