[components] For https://github.com/mozilla-mobile/android-components/issues/8989...
commit26406c2e0646e88d3404d3d8ff85cf8ee1b30e25
authorMugurell <Mugurell@users.noreply.github.com>
Tue, 18 May 2021 08:10:38 +0000 (18 11:10 +0300)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 2 Jun 2021 12:04:17 +0000 (2 12:04 +0000)
tree641335954b225247d0028a655e91121e8d373188
parent5fc28020ea7de41536ba86649b7feba48e2db3ac
[components] For https://github.com/mozilla-mobile/android-components/issues/8989 - Don't catch/rethrow prompt cast exceptions

This try-catch was added in https://github.com/mozilla-mobile/android-components/issues/6687 as an effort to better individualize prompt
cast exceptions in our crash reporting platforms to better asses their
frequency and hopefully get more data to debug and fix the underlying issue.

The original issue is resolved in the first commit of this patch so there is no
need to keep the try-catch.
mobile/android/android-components/components/feature/prompts/src/main/java/mozilla/components/feature/prompts/PromptFeature.kt
mobile/android/android-components/components/feature/prompts/src/test/java/mozilla/components/feature/prompts/PromptFeatureTest.kt