Răsfoiți Sursa

only write data whatever we have in case of error

Mohammed Nafees 4 ani în urmă
părinte
comite
25d08f7961
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  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
 	}