Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E eclipsefdn-vc-tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse FoundationEclipse Foundation
  • IT
  • Webdev
  • eclipsefdn-vc-tools
  • Issues
  • #64
Closed
Open
Issue created Jul 08, 2020 by Martin Lowe@malowe🇨🇦Maintainer

GL sync script is failing out on error instead of just logging

When there is an error, the script dies and stops processing completely. It should instead catch whatever error and skip the current project/group it is processing.

Example log:

Creating new project with name 'hawk'
Creating project with options: {"name":"hawk","visibility":"public","namespace_id":41}
{ HTTPError: Bad Request
   at fn (/app/node_modules/ky/umd.js:279:12)
   at process._tickCallback (internal/process/next_tick.js:68:7)
 name: 'HTTPError',
 response:
  Response {
    size: 0,
    timeout: 300000,
    [Symbol(Body internals)]: { body: [PassThrough], disturbed: true, error: null },
    [Symbol(Response internals)]:
     { url: 'https://gitlab.eclipse.org/api/v4/projects',
       status: 400,
       statusText: 'Bad Request',
       headers: [Headers],
       counter: 0 } },
 description:
  { path: [ 'has already been taken' ],
    name: [],
    limit_reached: [] } }
Error while creating project 'hawk'
Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent