-
Notifications
You must be signed in to change notification settings - Fork 61
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
Stop downloading odo/oc when cluster is down #406
Conversation
Codecov Report
@@ Coverage Diff @@
## master #406 +/- ##
==========================================
- Coverage 69.87% 69.72% -0.15%
==========================================
Files 20 20
Lines 853 849 -4
Branches 135 133 -2
==========================================
- Hits 596 592 -4
Misses 257 257
Continue to review full report at Codecov.
|
src/util/progress.ts
Outdated
progress.report({ | ||
increment: previous.increment, | ||
message: `${previous.total}%` | ||
}); | ||
}) : result; | ||
|
||
const result: CliExitData = await odo.execute(current.command); |
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.
If an error happens here, it gets swallowed and the progress is stalled. You might need to call this with fail = false to pass it into the handling below.
fix #386.