confluentinc / vscode

Confluent for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=confluentinc.vscode-confluent
Apache License 2.0
13 stars 3 forks source link

Create `captureException` wrapper function to add ObservabilityContext to Sentry errors #599

Open shouples opened 3 days ago

shouples commented 3 days ago

Will bring in non-"internal" data from https://github.com/confluentinc/vscode/pull/592 and append as a record to extra (see example) before calling Sentry.captureException(). Also needs to update all existing call points for Sentry.captureException() to use this new wrapper function.