Skip to content

Conversation

@krisbiradar
Copy link
Contributor

Closes #134 .
Wrap Exception.ToString() in a try-catch block to handle potential failures. If an exception occurs, output a fallback message with details about the original exception and the error encountered.

Wrap Exception.ToString() in a try-catch block to handle potential failures. If an exception occurs, output a fallback message with details about the original exception and the error encountered.
@krisbiradar
Copy link
Contributor Author

@nblumhardt
can you merge this ?
similar has been merged in the serilog's main repo
Here

@nblumhardt
Copy link
Member

Hi Kris, thanks for the nudge. This one needs the same changes as were made to the serilog/serilog one before merging. Cheers!

@krisbiradar
Copy link
Contributor Author

done @nblumhardt!

@nblumhardt nblumhardt merged commit 697c8fa into serilog:dev Nov 13, 2025
1 check passed
@nblumhardt
Copy link
Member

Thanks! 👍

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.

Exception in StackTrace leads to wrong message being logged

2 participants