Skip to content

Add catchingExceptions method to replace runCatching #4797

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jun 4, 2025

Merge remote-tracking branch 'origin/develop' into refactor/replace-r…

af71f9d
Select commit
Loading
Failed to load commit list.
Merged

Add catchingExceptions method to replace runCatching #4797

Merge remote-tracking branch 'origin/develop' into refactor/replace-r…
af71f9d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jun 4, 2025 in 1s

25.20% of diff hit (target 80.39%)

View this Pull Request on Codecov

25.20% of diff hit (target 80.39%)

Annotations

Check warning on line 82 in features/call/impl/src/main/kotlin/io/element/android/features/call/impl/services/CallForegroundService.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 30 in features/location/impl/src/main/kotlin/io/element/android/features/location/impl/common/actions/AndroidLocationActions.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 123 in features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/biometric/BiometricAuthenticator.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 311 in features/rageshake/impl/src/main/kotlin/io/element/android/features/rageshake/impl/reporter/DefaultBugReporter.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 101 in features/share/impl/src/main/kotlin/io/element/android/features/share/impl/SharePresenter.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 27 in features/viewfolder/impl/src/main/kotlin/io/element/android/features/viewfolder/impl/file/FileContentReader.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 44 in features/viewfolder/impl/src/main/kotlin/io/element/android/features/viewfolder/impl/file/FileSave.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 41 in features/viewfolder/impl/src/main/kotlin/io/element/android/features/viewfolder/impl/file/FileShare.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 36 in libraries/androidutils/src/main/kotlin/io/element/android/libraries/androidutils/file/Context.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 43 in libraries/androidutils/src/main/kotlin/io/element/android/libraries/androidutils/file/Context.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 94 in libraries/architecture/src/main/kotlin/io/element/android/libraries/architecture/AsyncAction.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

libraries/architecture/src/main/kotlin/io/element/android/libraries/architecture/AsyncAction.kt#L94

Added line #L94 was not covered by tests

Check warning on line 265 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 305 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 311 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 317 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 377 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 384 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 389 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 394 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 398 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 410 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 427 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 439 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 445 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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

Check warning on line 451 in libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt

See this annotation in the file changed.

@codecov 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