ProyectoIntermodular/sync-service
luklpz 121dc329f8 fix: catch RestClientException in all sync services
Per-item catch blocks only handled DolibarrApiException|PrestashopApiException,
letting network-level errors (RestClientException wrapping SSL, timeout, etc.)
propagate uncaught → HTTP 500. Also add outer catch for infrastructure failures
(e.g. getProducts() itself failing) so SyncLog always records the error in
errorDetails and the service returns a valid SyncResult instead of throwing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 19:28:49 +02:00
..
.mvn/wrapper feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
src fix: catch RestClientException in all sync services 2026-05-14 19:28:49 +02:00
.gitattributes feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
.gitignore feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
mvnw feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
mvnw.cmd feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00
pom.xml feat: add sync-service Spring Boot middleware 2026-05-14 14:09:46 +02:00