Skip to content

Commit 3acb165

Browse files
committed
fix: RuntimeException already catches IllegalStateException
1 parent a774d73 commit 3acb165

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void invoke(Object... args) {
8282
if (callback != null) {
8383
try {
8484
callback.invoke(args);
85-
} catch (RuntimeException | IllegalStateException e) {
85+
} catch (RuntimeException e) {
8686
// Log error when bridge is destroyed or context is dead
8787
// Don't rethrow - callback failure shouldn't break the SDK
8888
Log.e(TAG, "Failed to invoke callback - bridge may be destroyed", e);

0 commit comments

Comments
 (0)