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

Ensure we don't try to get length of undefined endpoint description #3274

Merged
merged 3 commits into from
Dec 17, 2018

Conversation

KlapTrap
Copy link
Contributor

When an CF endpoint is unreachable, viewing the CF summary page causes a "Cannot get length of undefined" exception. This is because we're trying to get the length of the endpoint description that doesn't exist.

Improved the code and made it more resilient.

@KlapTrap KlapTrap added the bug label Dec 10, 2018
@KlapTrap KlapTrap self-assigned this Dec 10, 2018
@cfdreddbot
Copy link

✅ Hey KlapTrap! The commit authors and yourself have already signed the CLA.

@codecov
Copy link

codecov bot commented Dec 10, 2018

Codecov Report

Merging #3274 into v2-master will increase coverage by <.01%.
The diff coverage is 50%.

@@              Coverage Diff              @@
##           v2-master    #3274      +/-   ##
=============================================
+ Coverage      71.01%   71.01%   +<.01%     
=============================================
  Files            639      639              
  Lines          28029    28029              
  Branches        6387     6388       +1     
=============================================
+ Hits           19904    19905       +1     
+ Misses          8125     8124       -1

@richard-cox richard-cox merged commit 51ff6eb into v2-master Dec 17, 2018
@richard-cox richard-cox deleted the exception-when-no-endpoint branch December 17, 2018 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants