Sfoglia il codice sorgente

only write data whatever we have in case of error

Mohammed Nafees 3 anni fa
parent
commit
25d08f7961
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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
 	}