-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat exceptions during DefaultFailureHandler screenshots as suppress…
…ed exceptions If an Espresso failure occurs, DefaultFailureHandler will capture a window snapshot and take a screenshot. However, if a RuntimeException occurs during this process, it will replace the original exception. An example is if there is an exception that occurs during a View's rendering logic. The original exception will trigger DefaultFailureHandle's screenshot, which may trigger a different exception, hiding the root cause. PiperOrigin-RevId: 601202589
- Loading branch information
1 parent
c16d70f
commit 7e6c095
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters