Explicit error logging inside jwtTokenExtractor
in botframework-connector
#4324
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
bug
Indicates an unexpected problem or an unintended behavior.
customer-replied-to
Indicates that the team has replied to the issue reported by the customer. Do not delete.
customer-reported
Issue is created by anyone that is not a collaborator in the repository.
needs-triage
The issue has just been created and it has not been reviewed by the team.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Versions
What package version of the SDK are you using. 4.16 (
botframework-connector
)What nodejs version are you using 14.17.1
What browser version are you using N/A
What os are you using MacOS Monterey 12.5.1
Describe the bug
There is an explicit
console.error
statement here injwtTokenExtractor
. This error is then thrown and handled by us, but the log entry is still made which results in noise in our logs as well as the possibility for triggering associated alarms.Why is this needed if the error is being thrown and will be logged if not handled by the caller?
Expected behavior
Error is thrown, handling/logging is left to the caller.
The text was updated successfully, but these errors were encountered: