Replies: 4 comments 5 replies
-
I don't get it You have all these information in the event agent.LocalOrchestrator.OnApplyChangesErrorOccured(args =>
{
Console.WriteLine($"ERROR: {args.Exception.Message}");
Console.WriteLine($"ROW : {args.ErrorRow}");
}); Yo can log from there right ? |
Beta Was this translation helpful? Give feedback.
-
Thank you for the prompt response. That's true but we also do other stuff apart from logging and it would be nice if there was some way to maybe push |
Beta Was this translation helpful? Give feedback.
-
Pushing this idea a little further ... we return sync errors from the web api like this It would be nice if Stop me if you think I'm getting carried away :-) |
Beta Was this translation helpful? Give feedback.
-
Assuming we all want to see |
Beta Was this translation helpful? Give feedback.
-
Playing with ErrorResolution in DMS 0.97 and very excited. We currently handle sync errors with something like the following pseudo-code
By default the local orchestrator as per the docs for ErrorResolution.Throw is configured to throw
It would be nice if in handling sync exceptions we could access
localOrchestrator.OnApplyChangesErrorOccured args.Exception.Message
andargs.ErrorRow
so they could be integrated with exception handling and logging.Always receptive to advice on a better way of course.
Beta Was this translation helpful? Give feedback.
All reactions