Skip to content

improve http transport error and message handling#2463

Open
kebeney wants to merge 1 commit intowinstonjs:masterfrom
kebeney:patch-1
Open

improve http transport error and message handling#2463
kebeney wants to merge 1 commit intowinstonjs:masterfrom
kebeney:patch-1

Conversation

@kebeney
Copy link
Copy Markdown

@kebeney kebeney commented May 13, 2024

Update http.js to emit the info message along with the error when the warn event is fired. The warn event is fired when there is an error sending the log to the http endpoint. This will help for someone who wants to write the logs to local storage and retry later.

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.

1 participant