fix: Report all errors to JS in configureSession
This commit is contained in:
parent
a591cea809
commit
f80e606c6d
@ -271,6 +271,8 @@ class CameraView(context: Context) : FrameLayout(context), LifecycleOwner {
|
||||
}
|
||||
} catch (e: CameraError) {
|
||||
invokeOnError(e)
|
||||
} catch (e: Throwable) {
|
||||
invokeOnError(UnknownCameraError(e))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user