Fix unhandled exception in datasync code in case order should not be synced (PRETIXEU-C9H) (#5525)

* Fix unhandled exception in datasync code in case order should not be synced (PRETIXEU-C9H)
* Add test case
This commit is contained in:
luelista
2025-10-07 19:58:26 +02:00
committed by GitHub
parent 59a754f913
commit a823f261f3
2 changed files with 21 additions and 1 deletions

View File

@@ -391,7 +391,7 @@ class OutboundSyncProvider:
def sync_order(self, order):
if not self.should_sync_order(order):
logger.debug("Skipping order %r", order)
return
return {}
logger.debug("Syncing order %r", order)
positions = list(