Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

asherber
Copy link
Contributor

In Linqpad, the "console" is just a facade over web browser output, so calling Console.OutputEncoding = System.Text.Encoding.UTF8 in the constructor for WireMockConsoleLogger throws an exception.

This PR adds a try..catch block to that code, so that the logger can be used in Linqpad (and any other non-standard consoles).

@StefH StefH added the feature label May 17, 2024
@StefH StefH merged commit 0b278db into wiremock:master May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants