Skip to content

[Feature Request] Exception details #122

@kriakiku

Description

@kriakiku

Hi! In the process of configuring CI/CD, I encountered exceptions. All network errors are not very informative:

🦋  Creating git tag...
🦋  New tag:  @***/***@0.0.5
[command]/usr/bin/git push origin --tags
To https://gitlab.com/***/***/***.git
 * [new tag]         @***/***@0.0.5 -> @***/***@0.0.5
HTTPError: Response code 403 (Forbidden)
    at Request.<anonymous> (/builds/***/***/***/node_modules/got/dist/source/as-promise/index.js:118:42)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_NON_2XX_3XX_RESPONSE',
  timings: {
    start: 169332[73](https://gitlab.com/***/***/***/-/jobs/0000000000#L73)1[77](https://gitlab.com/***/***/***/-/jobs/0000000000#L77)94,
    socket: 1693327317796,
    lookup: 1693327317799,
    connect: 169332731[78](https://gitlab.com/***/***/***/-/jobs/0000000000#L78)02,
    secureConnect: 1693327317810,
    upload: 1693327317811,
    response: 169332731[80](https://gitlab.com/***/***/***/-/jobs/0000000000#L80)64,
    end: 1693327318067,
    error: undefined,
    abort: undefined,
    phases: {
      wait: 2,
      dns: 3,
      tcp: 3,
      tls: 8,
      request: 1,
      firstByte: 253,
      download: 3,
      total: 273
    }
  },
  description: '403 Forbidden'
}
error Command failed with exit code 1.

It is unclear which part of the process the problem occurred with. It would be cool to see the details about the error 👉👈

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions