You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------------------------------------------------
Gradle 6.7.1
------------------------------------------------------------
Build time: 2020-11-16 17:09:24 UTC
Revision: 2972ff02f3210d2ceed2f1ea880f026acfbab5c0
Kotlin: 1.3.72
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM: 1.8.0_292 (AdoptOpenJDK 25.292-b10)
OS: Mac OS X 10.16 x86_64
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, the errorHandler 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.
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, the
errorHandler
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: aws-amplify/amplify-swift#1555
Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: