Skip to content

Commit

Permalink
Add generated changelog entries
Browse files Browse the repository at this point in the history
  • Loading branch information
carterkozak committed Oct 11, 2019
1 parent a3494b5 commit 201be35
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions changelog/@unreleased/pr-957.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
type: improvement
improvement:
description: |-
Implement Error Prone `ThrowError` to discourage throwing Errors in production code
Errors are often handled poorly by libraries resulting in unexpected
behavior and resource leaks. It's not obvious that 'catch (Exception e)'
does not catch Error.
This check is intended to be advisory - it's fine to
`@SuppressWarnings("ThrowError")` in certain cases, but is usually not
recommended unless you are writing a testing library that throws
AssertionError.
links:
- https://github.com/palantir/gradle-baseline/pull/957

0 comments on commit 201be35

Please sign in to comment.