mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-05 08:27:02 +02:00
Log Exception (#405)
This commit is contained in:
@@ -63,7 +63,7 @@ namespace WireMock.Owin
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_options.Logger.Error("HttpStatusCode set to 500 {0}", ex);
|
||||
_options.Logger.Error("HttpStatusCode set to 500", ex);
|
||||
await _responseMapper.MapAsync(ResponseMessageBuilder.Create(JsonConvert.SerializeObject(ex), 500), ctx.Response);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user