Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAYSHIP-3135] Refactor CapturePayPalOrderCommandHandler #1310

Open
wants to merge 7 commits into
base: prestashop/1.7.x
Choose a base branch
from

Conversation

Matt75
Copy link
Contributor

@Matt75 Matt75 commented Jan 24, 2025

No description provided.

@Matt75 Matt75 force-pushed the refacto/PAYSHIP-3135-ps17 branch 2 times, most recently from 75a9170 to a95f48c Compare January 27, 2025 10:54
@Matt75 Matt75 force-pushed the refacto/PAYSHIP-3135-ps17 branch from a95f48c to a99cbe9 Compare January 27, 2025 14:12
@Matt75 Matt75 marked this pull request as ready for review January 27, 2025 14:20
@Matt75 Matt75 force-pushed the refacto/PAYSHIP-3135-ps17 branch from 5eab322 to 03fb69d Compare January 27, 2025 14:49
PSebou
PSebou previously approved these changes Jan 29, 2025
Copy link
Contributor Author

@Matt75 Matt75 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Catching exceptions without logging or handling them properly can make debugging significantly harder. Instead of returning an empty array silently, consider logging the error or rethrowing it so that issues can be detected and diagnosed more easily. If suppressing the error is intentional, adding a comment explaining why would help future maintainers understand the decision.

@Matt75 Matt75 requested a review from seiwan February 5, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants