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

fix: retire error-message #11190

Merged
merged 4 commits into from
Mar 27, 2024
Merged

fix: retire error-message #11190

merged 4 commits into from
Mar 27, 2024

Conversation

jayzhang
Copy link
Member

@jayzhang jayzhang commented Mar 26, 2024

fix: https://msazure.visualstudio.com/Microsoft%20Teams%20Extensibility/_workitems/edit/27316534

retire error-message, inner-error, error-stack property in telemetry for now and we will use another property name for error-message after we can make sure the content will not contains any 3rd party message.

expect(endTelemetry.properties["error-message"]).to.equal(
'A http client error happened while performing the aadApp/create task. The error response is: {"error":{"code":"Request_BadRequest","message":"Invalid value specified for property \'displayName\' of resource \'Application\'."}}'
);
// expect(endTelemetry.properties["error-message"]).to.equal(
Copy link
Contributor

Choose a reason for hiding this comment

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

will there be another property to store error message?

Copy link
Member Author

Choose a reason for hiding this comment

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

We will use another property name after we can make sure that the error message is in our total control. Retire this for now.

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.15%. Comparing base (861612a) to head (576c1ac).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           hotfix/wxp_mar   #11190      +/-   ##
==================================================
- Coverage           87.15%   87.15%   -0.01%     
==================================================
  Files                 456      456              
  Lines               27507    27503       -4     
  Branches             5522     5520       -2     
==================================================
- Hits                23974    23970       -4     
  Misses               1774     1774              
  Partials             1759     1759              
Files Coverage Δ
packages/fx-core/src/common/telemetry.ts 98.09% <ø> (-0.04%) ⬇️
packages/fx-core/src/error/script.ts 100.00% <ø> (ø)

@MSFT-yiz MSFT-yiz merged commit 338c099 into hotfix/wxp_mar Mar 27, 2024
31 checks passed
@MSFT-yiz MSFT-yiz deleted the huajie/hotfix_telemetry branch March 27, 2024 06:29
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.

6 participants