Skip to content

feat: Add cause overloads to BadRequestException and NotFoundException#101

Merged
thced merged 1 commit into
masterfrom
feat/exception-cause-overloads
May 27, 2026
Merged

feat: Add cause overloads to BadRequestException and NotFoundException#101
thced merged 1 commit into
masterfrom
feat/exception-cause-overloads

Conversation

@thced

@thced thced commented May 27, 2026

Copy link
Copy Markdown
Contributor

Add (Throwable cause) overloads so user handlers can preserve the underlying exception when translating downstream failures to a 4xx/404. The default ExceptionHandler now DEBUG-logs the cause for these two types when present, so the cause stack trace is recoverable without changing the wire response.

Add (Throwable cause) overloads so user handlers can preserve the
underlying exception when translating downstream failures to a 4xx/404.
The default ExceptionHandler now DEBUG-logs the cause for these two
types when present, so the cause stack trace is recoverable without
changing the wire response.
@sonarqubecloud

Copy link
Copy Markdown

@thced thced merged commit bce9b71 into master May 27, 2026
6 checks passed
@thced thced deleted the feat/exception-cause-overloads branch May 27, 2026 07:44
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