How can I force DfaMatcher to log an error when no candidates are found? #2202
Answered
by
Tratcher
DefinitelyADev
asked this question in
Q&A
-
Hello all! Is the a way to capture, in order to log as error, the case "No candidates found for the request path..."? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Tratcher
Jul 26, 2023
Replies: 1 comment 1 reply
-
You could log in middleware if no Endpoint is set. (HttpContext.GetEndpoint() == null). |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
DefinitelyADev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could log in middleware if no Endpoint is set. (HttpContext.GetEndpoint() == null).