-
Notifications
You must be signed in to change notification settings - Fork 49
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
Don't throw errors #501
Don't throw errors #501
Conversation
WalkthroughThe update to version 1.2.5 of the Vendure plugin for Shipmate introduces enhanced error handling for the Changes
Recent review detailsConfiguration used: CodeRabbit UI Files ignored due to path filters (3)
Files selected for processing (1)
Additional comments not posted (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (3)
package.json
is excluded by!**/*.json
packages/vendure-plugin-shipmate/package.json
is excluded by!**/*.json
yarn.lock
is excluded by!**/yarn.lock
,!**/*.lock
,!**/*.lock
Files selected for processing (2)
- packages/vendure-plugin-shipmate/CHANGELOG.md (1 hunks)
- packages/vendure-plugin-shipmate/src/api/shipmate.controller.ts (1 hunks)
Additional comments not posted (2)
packages/vendure-plugin-shipmate/src/api/shipmate.controller.ts (2)
4-5
: LGTM!The new imports are appropriate for the added error handling logic.
12-20
: LGTM!The try-catch block is correctly implemented to handle errors and log them appropriately.
package.json
Outdated
@@ -61,7 +61,8 @@ | |||
"typescript-eslint": "^7.5.0", | |||
"unplugin-swc": "1.4.4", | |||
"vitest": "1.3.1", | |||
"wsdl-tsclient": "1.3.1" | |||
"wsdl-tsclient": "1.3.1", | |||
"catch-unknown": "2.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, catch-unknown, finally (pun intended)! But, can you move this to normal dependencies instead of dev-seps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, nice! Finally no more disable tslint any's. Small change requested though
Also, there seems to be a merge conflict regarding the changelog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfecto!
Description
The changes in this PR implement and close #509
Breaking changes
Does this PR include any breaking changes we should be aware of? NO
Screenshots
You can add screenshots here if applicable.
Checklist
📌 Always:
👍 Most of the time:
📦 For publishable packages:
package.json
CHANGELOG.md
See this example