Skip to content

Commit

Permalink
Suppress TooGenericExceptionThrown to deffer addressing it
Browse files Browse the repository at this point in the history
  • Loading branch information
wzieba committed Sep 27, 2024
1 parent e5c1345 commit ff1a406
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class SignupConfirmationFragment : Fragment(), MenuProvider {
AndroidSupportInjection.inject(this)
super.onAttach(context)
if (context !is LoginListener) {
@Suppress("TooGenericExceptionThrown")
throw RuntimeException("$context must implement LoginListener")
}
mLoginListener = context
Expand Down

0 comments on commit ff1a406

Please sign in to comment.