Skip to content

Commit

Permalink
Merge branch 'develop' into start-service-crash
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandar-apostolov authored Dec 4, 2024
2 parents 8245cb6 + c1bc2a2 commit 56bbb01
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -779,11 +779,13 @@ public abstract class StreamCallActivity : ComponentActivity() {

if (cid == null) {
val e = IllegalArgumentException("CallActivity started without call ID.")
logger.e(
e,
) { "Failed to initialize call because call ID is not found in the intent. $intent" }
onError?.let {
} ?: throw e

logger.e(e) {
"Failed to initialize call because call ID is not found in the intent. $intent"
}

onError?.invoke(e) ?: throw e

// Finish
return
}
Expand Down

0 comments on commit 56bbb01

Please sign in to comment.