Explorar o código

only write data whatever we have in case of error

Mohammed Nafees %!s(int64=4) %!d(string=hai) anos
pai
achega
25d08f7961
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      api/server/handlers/project_integration/list_git.go

+ 0 - 1
api/server/handlers/project_integration/list_git.go

@@ -67,7 +67,6 @@ func (p *ListGitIntegrationHandler) ServeHTTP(w http.ResponseWriter, r *http.Req
 	ghAuthUser, _, err := client.Users.Get(context.Background(), "")
 
 	if err != nil {
-		p.HandleAPIError(w, r, apierrors.NewErrInternal(err))
 		p.WriteResult(w, r, res)
 		return
 	}