Arcus Logging - Wrong status code in app Insigths #208
Answered
by
tomkerkhove
JLLudovico
asked this question in
Q&A
|
Hi all. "Quick" question regarding arcus:
With this config, when we have an exception, the request is logged in app insights with an HTTP 200 status code When we change the config to:
When we have the exception app Insights logs the request with a HTTP 500 status code (which is correct). But according to the arcus Logging documentation it says that the .UseExceptionHandling() should be the first middleware to use. Is this a bug or probably some misconfiguration in my startup.cs? thx |
Answered by
tomkerkhove
Mar 16, 2021
Replies: 1 comment 3 replies
|
This looks like a documentation bug where the request tracking should be the first, thanks for letting us know! |
3 replies
Answer selected by
fgheysels
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This looks like a documentation bug where the request tracking should be the first, thanks for letting us know!
Can you pick this up @stijnmoreels?