Skip to content

Add ability to override logging in DefaultDataFetcherExceptionHandler#1804

Merged
kilink merged 2 commits intomasterfrom
default-data-fetcher-exception-handler-logging
Jan 30, 2024
Merged

Add ability to override logging in DefaultDataFetcherExceptionHandler#1804
kilink merged 2 commits intomasterfrom
default-data-fetcher-exception-handler-logging

Conversation

@kilink
Copy link
Member

@kilink kilink commented Jan 28, 2024

Mark DefaultDataFetcherExceptionHandler as open, and move the logging to a protected method so it can easily be overriden; this allows for custom implementations that may choose to log at different levels based on the Exception type.

Fixes #1353

Mark DefaultDataFetcherExceptionHandler as open, and move the logging to a protected method so it can
easily be overriden; this allows for custom implementations that may choose to log at different levels
based on the Exception type.
@kilink kilink force-pushed the default-data-fetcher-exception-handler-logging branch from 9522457 to b68744e Compare January 28, 2024 22:23
@kilink kilink merged commit 6b9f9b8 into master Jan 30, 2024
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.

bug: DefaultDataFetcherExceptionHandler should not log an error on org.springframework.security.access.AccessDeniedException

2 participants