diff --git a/android/src/main/java/com/mrousavy/camera/CameraView.kt b/android/src/main/java/com/mrousavy/camera/CameraView.kt index aeea8b8..176a049 100644 --- a/android/src/main/java/com/mrousavy/camera/CameraView.kt +++ b/android/src/main/java/com/mrousavy/camera/CameraView.kt @@ -271,6 +271,8 @@ class CameraView(context: Context) : FrameLayout(context), LifecycleOwner { } } catch (e: CameraError) { invokeOnError(e) + } catch (e: Throwable) { + invokeOnError(UnknownCameraError(e)) } } }