Suggestion to add telemetry when sending 400 response code for invalid activity #5934
Labels
Area: SDK
General SDK issues that don't clearly map to other areas (e.g.: helper methods)
feature-request
A request for new functionality or an enhancement to an existing one.
P1
Painful if we don't fix, won't block releasing
PVA
PVA requirement
Size: S
The issue is simple and well understood, it will take a day or less to complete
Milestone
Use this query to search for the most popular feature requests.
Is your feature request related to a problem? Please describe.
Currently, the SDK returns a 400 response code when the incoming activity is null or the activity type is empty. This is the piece of code being referred to. Since no trace is logged here, it's difficult to know if this piece of code actually caused the 400 result code.
Describe the solution you'd like
A trace indicating that we returned a 400 response here will make it easier while look at telemetry.
Describe alternatives you've considered
N/A
Additional context
The text was updated successfully, but these errors were encountered: