We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef230f9 commit c1bc2a2Copy full SHA for c1bc2a2
stream-video-android-ui-core/src/main/kotlin/io/getstream/video/android/ui/common/StreamCallActivity.kt
@@ -779,11 +779,13 @@ public abstract class StreamCallActivity : ComponentActivity() {
779
780
if (cid == null) {
781
val e = IllegalArgumentException("CallActivity started without call ID.")
782
- logger.e(
783
- e,
784
- ) { "Failed to initialize call because call ID is not found in the intent. $intent" }
785
- onError?.let {
786
- } ?: throw e
+
+ logger.e(e) {
+ "Failed to initialize call because call ID is not found in the intent. $intent"
+ }
787
+ onError?.invoke(e) ?: throw e
788
789
// Finish
790
return
791
}
0 commit comments