Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PipelineRun - keep first (error) message instead of last one? #58

Open
alxsap opened this issue Dec 19, 2019 · 0 comments
Open

PipelineRun - keep first (error) message instead of last one? #58

alxsap opened this issue Dec 19, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@alxsap
Copy link
Contributor

alxsap commented Dec 19, 2019

I often saw PipelineRuns having having a message and shortMessage with useless subsequent errors like

example:
ERROR: error deleting namespace (demok8s-bjsb2 - status:cleaning): error
    deleting namespace ''steward-run-ripx3yrn80i04ulh'': Operation cannot be fulfilled
    on namespaces "steward-run-ripx3yrn80i04ulh": The system is ensuring all content
    is removed from this namespace.  Upon completion, this namespace will automatically
    be purged by the system.'

The history still contains the original error which caused failing the pipeline. But e.g. -owide shows the shortMessage.
We should consider using the first error message in message and shortMessage, or find a better way.

@alxsap alxsap added the enhancement New feature or request label Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant