-
Notifications
You must be signed in to change notification settings - Fork 446
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
update UI errors for secrets on scripts and software #25008
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #25008 +/- ##
=======================================
Coverage 63.75% 63.75%
=======================================
Files 1610 1610
Lines 153174 153166 -8
Branches 3928 3923 -5
=======================================
- Hits 97660 97658 -2
+ Misses 47728 47722 -6
Partials 7786 7786
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
} else { | ||
renderFlash("error", getErrorMessage(e)); | ||
} | ||
renderFlash("error", getErrorMessage(e)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧼
"error", | ||
`Couldn’t upload. Request timeout. Please make sure your server and load balancer timeout is long enough.` | ||
); | ||
} else if (reason.includes("Fleet couldn't read the version from")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason this else if
was removed? I added it back, but lmk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I mistakenly deleted this. Thanks for catching
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ghernandez345 thanks for cleaning up the error code!!!
relates to #24550
This addes some UI error messages when trying to use fleet secret variables on scripts and software packages.