Replies: 2 comments 1 reply
-
Try catch (Exception ex)
{
throw(ex);
} |
Beta Was this translation helpful? Give feedback.
-
This is a discussion issue, not a bug report. The question is how to configure sync to capture individual row errors on the SyncController and pass them back to the client. I cannot see where this is explained in the docs. I have a sync setup that works fine most of the time but happily I have an error occurring part way through sync that allows me to test this new functionality before releasing a new version of our product. We have Dotmim.Sync.Web.Client throwing SyncException as shown above, after successfully syncing 30 of 41 tables. Yet when the SyncException is caught there is no additional data about the error row. I've configured both the SyncController and the remote orchestrator to write error row information as shown above, but neither does. Can the remote orchestrator return information about the error row, on the client or on the SyncController, or is error row information only available on the local orchestrator? Does anyone have a snippet they might share? |
Beta Was this translation helpful? Give feedback.
-
I've tried implementing error handling in the controller like this
However when I catch the exception on the client, I can't see the additonal error row info. How do I return the error row info to the error handler on the client?
Beta Was this translation helpful? Give feedback.
All reactions