Skip to content

Improve all azdo error messages with more description #746

Description

@vhvb1989
    Should this be `fmt.Errorf("configuring pipeline: %w")`?

Originally posted by @weikanglim in #743 (comment)

All errors should be more descriptive about where the issue is coming from and if possible with a hint about how to fix it.
For example, try using an invalid PAT or with insufficient scope roles. The errors should mention what role is missing and tell the user about it. Instead of an output like unauthorized

Metadata

Metadata

Labels

area/pipelineCI/CD pipeline config (GH Actions, AzDO)staleNo recent activity (bot-managed)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions