Skip to content

Commit b74cad5

Browse files
committed
Update changelog
1 parent a51de3d commit b74cad5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ The npm package size has been reduced by 98%, from 4500kB to 87kB.
77
## Custom logic
88

99
The `log` option was renamed to [`onError`](README.md#onerror). Its arguments
10-
are `(originalError, event)` instead of `(error, level, originalError)`. The
11-
process error `event` is now passed as a second argument instead of being set as
12-
`error.name`.
10+
are `(originalError, event)` instead of `(error, level, originalError)`.
11+
12+
The process error `event` is now passed as a second argument instead of being
13+
set as `error.name`. Its case is not capitalized anymore, to match the event
14+
name in Node.js.
1315

1416
Before:
1517

0 commit comments

Comments
 (0)