From 2ad9753957081f67babd4381796a637ad809146d Mon Sep 17 00:00:00 2001 From: lance chant <13349722+lancechant@users.noreply.github.com> Date: Tue, 9 Jun 2026 08:37:58 +0200 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .../tvrecommendations/TvRecommendationsPublisher.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/tv-recommendations/android/src/main/java/expo/modules/tvrecommendations/TvRecommendationsPublisher.kt b/modules/tv-recommendations/android/src/main/java/expo/modules/tvrecommendations/TvRecommendationsPublisher.kt index 3c58b00e9..77703cf55 100644 --- a/modules/tv-recommendations/android/src/main/java/expo/modules/tvrecommendations/TvRecommendationsPublisher.kt +++ b/modules/tv-recommendations/android/src/main/java/expo/modules/tvrecommendations/TvRecommendationsPublisher.kt @@ -587,8 +587,10 @@ internal object TvRecommendationsPublisher { Log.w(TAG, "logProviderState(): channelId=$channelId exists=false") } } ?: Log.w(TAG, "logProviderState(): channel query returned null for channelId=$channelId") - } catch (error: SecurityException) { - Log.w(TAG, "logProviderState(): lost provider permission for channelId=$channelId", error) - } +} catch (error: SecurityException) { + Log.w(TAG, "logProviderState(): lost provider permission for channelId=$channelId", error) +} catch (error: Exception) { + Log.w(TAG, "logProviderState(): failed to query channelId=$channelId", error) +} } }