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 committed Nov 20, 2024
1 parent 8fe1678 commit 06ca6b7
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 06ca6b7

Please sign in to comment.