Add catchingExceptions
method to replace runCatching
#4797
25.20% of diff hit (target 80.39%)
View this Pull Request on Codecov
25.20% of diff hit (target 80.39%)
Annotations
codecov / codecov/patch
features/call/impl/src/main/kotlin/io/element/android/features/call/impl/services/CallForegroundService.kt#L82
Added line #L82 was not covered by tests
codecov / codecov/patch
features/location/impl/src/main/kotlin/io/element/android/features/location/impl/common/actions/AndroidLocationActions.kt#L30
Added line #L30 was not covered by tests
codecov / codecov/patch
features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/biometric/BiometricAuthenticator.kt#L123
Added line #L123 was not covered by tests
codecov / codecov/patch
features/rageshake/impl/src/main/kotlin/io/element/android/features/rageshake/impl/reporter/DefaultBugReporter.kt#L311
Added line #L311 was not covered by tests
codecov / codecov/patch
features/share/impl/src/main/kotlin/io/element/android/features/share/impl/SharePresenter.kt#L101
Added line #L101 was not covered by tests
codecov / codecov/patch
features/viewfolder/impl/src/main/kotlin/io/element/android/features/viewfolder/impl/file/FileContentReader.kt#L27
Added line #L27 was not covered by tests
codecov / codecov/patch
features/viewfolder/impl/src/main/kotlin/io/element/android/features/viewfolder/impl/file/FileSave.kt#L44
Added line #L44 was not covered by tests
codecov / codecov/patch
features/viewfolder/impl/src/main/kotlin/io/element/android/features/viewfolder/impl/file/FileShare.kt#L41
Added line #L41 was not covered by tests
codecov / codecov/patch
libraries/androidutils/src/main/kotlin/io/element/android/libraries/androidutils/file/Context.kt#L36
Added line #L36 was not covered by tests
codecov / codecov/patch
libraries/androidutils/src/main/kotlin/io/element/android/libraries/androidutils/file/Context.kt#L43
Added line #L43 was not covered by tests
codecov / codecov/patch
libraries/architecture/src/main/kotlin/io/element/android/libraries/architecture/AsyncAction.kt#L94
Added line #L94 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L265
Added line #L265 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L305
Added line #L305 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L311
Added line #L311 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L317
Added line #L317 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L377
Added line #L377 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L384
Added line #L384 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L389
Added line #L389 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L394
Added line #L394 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L398
Added line #L398 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L410
Added line #L410 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L427
Added line #L427 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L439
Added line #L439 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L445
Added line #L445 was not covered by tests
codecov / codecov/patch
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L451
Added line #L451 was not covered by tests