Closed 5d closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 68.44%. Comparing base (
4782923
) to head (6e3889e
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issue \
https://github.com/aws-amplify/amplify-swift/issues/3855
Description
The default iteration behavior for SQLite statement results uses
try!
, which throws a runtime error that can't be caught by Swift's standarddo..try
mechanism. Since the analytics category runs as a background monitoring thread, it shouldn't cause the app to enter an error state. Instead, use the alternative throwable APIfailableNext
to avoid runtime errors.General Checklist
Given When Then
inline code documentation and are named accordinglytestThing_condition_expectation()
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.