Skip to content

Commit

Permalink
Handle any error gracefully when amazon app url scheme is not found
Browse files Browse the repository at this point in the history
Added final to catch

Co-authored-by: Shahzaib <[email protected]>
  • Loading branch information
denniskniep and shahzaibj authored Oct 10, 2024
1 parent 926117b commit 1bb6050
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ private void processAmazonAppUri(@NonNull final String url) {
final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
getActivity().startActivity(intent);
Logger.info(methodTag, "Sent Intent to launch Amazon app");
} catch (Throwable throwable) {
} catch (final Throwable throwable) {
Logger.error(methodTag, "Failed to launch Amazon app.", e);
}
}
Expand Down

0 comments on commit 1bb6050

Please sign in to comment.