-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: NoFixVersionApplicable
-
Fix Version/s: Not yet scheduled version
-
Component/s: Synchronizer
There are code in:
- EngineWorker.giveup_error()
- EngineWorker.increase_error()
- QueueManager.push_error()
The first method also contains an unused keyword argument exception.
We should refactor those 3 methods to have a cleaner way of putting a doc_pair in error. And for unhandled exception, we want to send the complete trace via the sync.error.trace custom metric.