Skip to content

Conversation

DominicGBauer
Copy link
Contributor

Description

  • Implement the latest powersync-kotlin version
  • Apply changes as functions now throw and therefore need a try
  • Improve __fetchCredentials to log the error but not crash the app

Testing

Ran fetchCredentials error and table update errors in Swift Demo to confirm they no longer crash the app.

This is how handled errors will now display in Swift without the Kotlin unintelligible stack trace.

🔴 PowerSyncException: error while compiling: SELECT * FROM todofail
no such table: todofail

@DominicGBauer DominicGBauer merged commit 72dd7e1 into main Feb 11, 2025
1 check passed
@DominicGBauer DominicGBauer deleted the chore/improve-error-handling-in-swift branch February 11, 2025 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants