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

Add check to generate a warning if the exception is not added as a last parameter #238

Closed

Conversation

ghost
Copy link

@ghost ghost commented Jan 8, 2018

Add new check to generate a warning if the exception is not added as a last parameter to the logging for caught and logged unchecked exceptions.
Fixed #221

@svilenvul
Copy link
Contributor

@martinvw, please take a look when you have time for that.

@ghost ghost force-pushed the exception-last-parameter-check branch 3 times, most recently from 55a95ff to d714840 Compare February 13, 2018 14:39
@svilenvul
Copy link
Contributor

@tanyatanyatanya, please update the PR with the utility methods added in #287

@dstivanov
Copy link
Collaborator

@tanyatanyatanya Can you please adapt the PR according to the changes in #287 ?

@ghost ghost force-pushed the exception-last-parameter-check branch from d714840 to c347363 Compare August 3, 2018 11:00
@ghost
Copy link
Author

ghost commented Aug 3, 2018

@dstivanov Done.

@Hilbrand
Copy link
Member

Hilbrand commented Mar 2, 2019

There is a pmd check that kind of checks for this too: UseCorrectExceptionLogging. Was that considered or doesn't cover the use case implemented in this check?

Base automatically changed from master to main January 18, 2021 20:10
@kaikreuzer kaikreuzer requested a review from a team as a code owner January 18, 2021 20:10
@kaikreuzer
Copy link
Member

Closing due to inactivity.

@kaikreuzer kaikreuzer closed this Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants