-
Notifications
You must be signed in to change notification settings - Fork 669
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
fix: return the config file not found error #5972
fix: return the config file not found error #5972
Conversation
Signed-off-by: terry.hung <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5972 +/- ##
==========================================
+ Coverage 36.90% 37.00% +0.10%
==========================================
Files 1310 1310
Lines 131372 131369 -3
==========================================
+ Hits 48477 48610 +133
+ Misses 78682 78526 -156
- Partials 4213 4233 +20
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: terry.hung <[email protected]>
Signed-off-by: terry.hung <[email protected]>
Signed-off-by: terry.hung <[email protected]>
Signed-off-by: terry.hung <[email protected]>
Signed-off-by: terry.hung <[email protected]>
Signed-off-by: terry.hung <[email protected]>
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.
LGTM, thank you
This reverts commit d2ddfe2.
Tracking issue
Closes #4891
Why are the changes needed?
The changes are needed to handle the situation where flytectl panics when an incorrect configuration path is provided. Currently, passing an invalid or incorrect config path causes flytectl to crash unexpectedly, leading to poor user experience and making debugging difficult.
What changes were proposed in this pull request?
Return the
error
directly.How was this patch tested?
unit test.
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link