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

Change the way how exceptions are handled when a ws-agent pings Che s… #368

Merged
2 commits merged into from
Feb 17, 2016

Conversation

ghost
Copy link

@ghost ghost commented Feb 17, 2016

Reported by a user - #319

Correctly handle exceptions and print out helpful diagnostic info in case a ws agent cannot ping Che server for whatever reason.

Signed-off-by: Eugene Ivantsov eivantsov@codenvy.com

public void start() {
try {
final HttpJsonResponse pingResponse = httpJsonRequestFactory.fromUrl(apiEndpoint)
.setMethod(HttpMethod.GET)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting is wrong. Please fix indentation

…case a ws agent cannot ping Che server for whatever reason.

Signed-off-by: Eugene Ivantsov <eivantsov@codenvy.com>
@ghost ghost force-pushed the fixed_api_endpoint_checker_logic branch from 48bb24a to ef05a9a Compare February 17, 2016 10:35
Signed-off-by: Alexander Garagatyi <agaragatyi@codenvy.com>
@garagatyi garagatyi force-pushed the fixed_api_endpoint_checker_logic branch from a8f22b3 to 1a86ec3 Compare February 17, 2016 12:02
@skabashnyuk
Copy link
Contributor

ok @vparfonov @garagatyi ?

@garagatyi
Copy link

LGTM

ghost pushed a commit that referenced this pull request Feb 17, 2016
Change the way how exceptions are handled when a ws-agent pings Che s…
@ghost ghost merged commit 56ffbc6 into master Feb 17, 2016
@ghost ghost deleted the fixed_api_endpoint_checker_logic branch February 17, 2016 12:47
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants