Skip to content

Conversation

jakebailey
Copy link
Member

The sendTelemetryException API seems to send the errors nowhere we can access. But we can revert to sendTelemetryErrorEvent and specify exactly which properties come from the error to obtain the same redaction behavior: https://github.com/Microsoft/vscode-extension-telemetry#sending-errors-as-events

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated.
  • Test plan is updated as appropriate.
  • package-lock.json has been regenerated by running npm install (if dependencies have changed).
  • The wiki is updated with any design decisions/details.

@jakebailey jakebailey added the no-changelog No news entry required label Oct 20, 2020
@codecov-io
Copy link

codecov-io commented Oct 20, 2020

Codecov Report

Merging #14453 into main will increase coverage by 0.00%.
The diff coverage is 72.22%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #14453   +/-   ##
=======================================
  Coverage   59.19%   59.19%           
=======================================
  Files         720      720           
  Lines       40211    40213    +2     
  Branches     5829     5829           
=======================================
+ Hits        23802    23804    +2     
  Misses      15147    15147           
  Partials     1262     1262           
Impacted Files Coverage Δ
src/client/telemetry/index.ts 80.80% <72.22%> (+0.39%) ⬆️

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 20349f2...5fd4931. Read the comment docs.

@jakebailey jakebailey marked this pull request as ready for review October 20, 2020 18:40
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jakebailey jakebailey merged commit f90ea21 into microsoft:main Oct 26, 2020
@jakebailey jakebailey deleted the use-error-event branch October 26, 2020 19:13
jakebailey added a commit to jakebailey/vscode-python that referenced this pull request Oct 26, 2020
jakebailey added a commit to jakebailey/vscode-python that referenced this pull request Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants