Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

fix: error emitted from a hover provider broke other hover providers #117

Merged
merged 3 commits into from
Oct 31, 2018

Conversation

attfarhan
Copy link

Fixes #105

Errors from hover providers will be logged in the console, but not emitted from getHover. Now, other hover providers will continue to work if one hover provider is emitting errors. However, this means that errors won't appear in the hover tooltip when they do occur.

This PR updates the CHANGELOG.md file to describe any user-facing changes.
This PR does not need to update the CHANGELOG because ...

@attfarhan attfarhan requested a review from sqs October 30, 2018 23:25
Copy link
Member

@sqs sqs left a comment

Choose a reason for hiding this comment

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

We’ll see if we need to rate limit the error logging of a lot of duplicates get logged. This is good for now.

@codecov
Copy link

codecov bot commented Oct 31, 2018

Codecov Report

Merging #117 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
+ Coverage   77.58%   77.62%   +0.03%     
==========================================
  Files          67       67              
  Lines        2628     2632       +4     
  Branches      534      534              
==========================================
+ Hits         2039     2043       +4     
  Misses        589      589
Impacted Files Coverage Δ
src/client/providers/hover.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6126d5f...f2c6e8c. Read the comment docs.

@attfarhan attfarhan merged commit f7a6d85 into master Oct 31, 2018
@attfarhan attfarhan deleted the fa/fix-hover-clashing branch October 31, 2018 16:38
@sourcegraph-bot
Copy link

🎉 This PR is included in version 18.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants