Skip to content

fix(winston): fix unhandledRejection handling for winston@3.12.0 changes; release @elastic/ecs-winston-format@1.5.3#181

Merged
trentm merged 2 commits intomainfrom
trentm/winston-test-fail
Mar 18, 2024
Merged

fix(winston): fix unhandledRejection handling for winston@3.12.0 changes; release @elastic/ecs-winston-format@1.5.3#181
trentm merged 2 commits intomainfrom
trentm/winston-test-fail

Conversation

@trentm
Copy link
Member

@trentm trentm commented Mar 14, 2024

In winston@3.12.0, the handling of unhandledRejection events changed
slightly: setting '.rejection=truerather than.exception`.


This changed in winstonjs/winston#2390.
This is the reason for the CI failures seen on the unrelated #180 PR.

I will do a v1.5.3 release for this.

In winston@3.12.0, the handling of unhandledRejection events changed
slightly: setting '<record>.rejection=true` rather than `<record>.exception`.
@trentm trentm requested a review from david-luna March 14, 2024 22:52
@trentm trentm self-assigned this Mar 14, 2024
@trentm trentm merged commit f884e24 into main Mar 18, 2024
@trentm trentm deleted the trentm/winston-test-fail branch March 18, 2024 22:53
@trentm
Copy link
Member Author

trentm commented Mar 18, 2024

@elastic/ecs-winston-format@1.5.3 published with this fix.

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.

2 participants