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> |
||
|---|---|---|
| .. | ||
| .mvn/wrapper | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| mvnw | ||
| mvnw.cmd | ||
| pom.xml | ||