Skip to content

Handle some exceptions throughout the code#6

Open
padovan wants to merge 3 commits intoagstack:mainfrom
padovan:handle-exceptions
Open

Handle some exceptions throughout the code#6
padovan wants to merge 3 commits intoagstack:mainfrom
padovan:handle-exceptions

Conversation

@padovan
Copy link

@padovan padovan commented Mar 9, 2026

While setting up and playing with inatrace-backend, I found some some code crashes that can be treated through proper exception handling.

padovan and others added 3 commits March 9, 2026 14:27
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add null/empty check for translations list before stream operations
in createProductType and updateProductType to return a proper error
response instead of crashing with a NullPointerException.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Spring Boot 3.x uses NoResourceFoundException instead of
NoHandlerFoundException for unmatched routes. Add explicit handler
to return proper 404 responses.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant