Closed HuiSF closed 1 year ago
Hey @poojamat I have also logged the same issue on the amplify-js repository which is still open https://github.com/aws-amplify/amplify-js/issues/8891
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Before opening, please confirm:
Language and Async Model
Java, Kotlin
Amplify Categories
DataStore
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
DataStore allows developer to provide a custom
errorHandler
function. According to the library document, theerrorHandler
function is invoked for unrecoverable model synchronization errors. However, it never been invoked on any GraphQL error triggered my model mutation, and the library only prints an error log, but not providing an API to allow developers to catch this type off error.Related amplify-ios issue: https://github.com/aws-amplify/amplify-ios/issues/1555
Reproduction steps (if applicable)
No response
Code Snippet
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response