UnreachableBrowserException logs the command parameter details only in debug mode#11328
Conversation
d053fef to
d1c1c29
Compare
|
@debanjanc01 sorry we did not review this in a timely manner, but it needs to be rebased with trunk. Can you update it? |
Hey @titusfortner sure I'll rebase and update the PR. |
3cc72b0 to
f74bc8c
Compare
f74bc8c to
3828661
Compare
|
@titusfortner I've rebased with trunk |
Codecov ReportPatch coverage has no change and project coverage change:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## trunk #11328 +/- ##
==========================================
- Coverage 56.97% 56.97% -0.01%
==========================================
Files 86 86
Lines 5337 5336 -1
Branches 193 193
==========================================
- Hits 3041 3040 -1
Misses 2103 2103
Partials 193 193
☔ View full report in Codecov by Sentry. |
diemol
left a comment
There was a problem hiding this comment.
Thank you, @debanjanc01!
I made some adjustments, but most of the work was already there.
|
@diemol i am to late with my review, but one question, why is there a My original issue described it in the case of a |
|
I did not spend time analyzing the whole range of possibilities. If there is more, let's specify it here, and reopen so we can iterate. |
|
@joerg1985 I did think of the possibilities of other Exception cases having the same bug. But since the original issue mentioned UnreachableBrowserException specifically I've added the explicit |
Description
This resolves: #11275
In the case when
UnreachableBrowserExceptionis raised, only the command parameter names will be logged (unless in debug mode) so as to not reveal any sensitive information.In order to test the changes,
org.mockito:mockito-inlinehas been added as a dependency.Motivation and Context
This solves: #11275
Types of changes
Checklist