-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Error message truncated in UI when it is very long #4152
Comments
@jsoref is this how you would like the error message to be formatted? or are you seeing this somewhere else? |
@rbreeze: that's just some of the text from the red error box. No, it isn't how I'd like it formatted. |
@jsoref Unfortunately we can't tell this YAML is invalid until it's sent to the server. We do validate the YAML before sending it, and when it's invalid it displays a nicely formatted error message; in this case the server is sending back a not-so-nicely formatted message, which is what you're seeing. For now, I'll make sure it's scrollable. |
I should note that technically there wasn't anything wrong w/ the yaml validity, it's just that k8s doesn't allow mutations of certain fields. It might be possible to know this, but that's outside the scope of this issue. |
If you are trying to resolve an environment-specific issue or have a one-off question about the edge case that does not require a feature then please consider asking a
question in argocd slack channel.
Checklist:
argocd version
.Describe the bug
The error box is huge and yet nowhere near big enough to actually read the error. And it doesn't scroll well.
To Reproduce
spec:
>containers:
>env:
Expected behavior
Screenshots
Version
v1.6.1+159674e
Logs
The text was updated successfully, but these errors were encountered: