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

FCREPO-2064 standardize exception logging in JAXRS ExceptionMapper impls #1060

Merged
merged 1 commit into from Jun 30, 2016

Conversation

barmintor
Copy link
Contributor

No description provided.

* @param error Throwable the intercepted error.
* @param logger Logger the logger to use
*/
public default void debugException(ExceptionDebugLogging context, Throwable error, Logger logger) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This may be more a matter of style, but my preference would be to factor out logger into an abstract method Logger logger() and let it be implemented at greatest common factors in the mapper type-hierarchy.

@ajs6f
Copy link
Contributor

ajs6f commented Jun 30, 2016

@barmintor Are you done reacting to my comments? If so, I'll wait through this morning and if there are no other comments, I'll merge.

@awoods
Copy link

awoods commented Jun 30, 2016

@barmintor, as a note, I do not know a PR is ready for review until the associated JIRA item has been moved into the "Start Review" state.

@barmintor
Copy link
Contributor Author

Moved to "Start Review"

@ajs6f ajs6f merged commit a762a62 into master Jun 30, 2016
@awoods awoods deleted the fcrepo-2064 branch June 30, 2016 16:25
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.

None yet

3 participants