exception-logging Questions
4
Solved
I created a CrudAppService. When I invoke its dynamic API by using swagger, I get a generic 500 error with this description:
{
"result": null,
"targetUrl": null,
"success": false,
"error": {
...
Mahmoud asked 1/1, 2018 at 15:3
2
I have a custom exception (which is further extended in may other custom exceptions). My project requires log all the customExceptions (and all of its decendents) that occurs. I have a logger that ...
Intrust asked 28/2, 2018 at 20:52
3
Solved
I have a "Duplicate entry" exception, which logging SqlExceptionHelper. I need to disable logging only this exception. How can I do it?
Neoteny asked 26/8, 2015 at 8:56
2
Solved
I'm trying to log inner exception messages by using NLog. This is a piece of my NLog.config file:
<target name="errors" xsi:type="File" layout="${longdate}${newline}
- ...
Hoagland asked 31/5, 2017 at 14:28
2
We are using custom error provided by asp.net config setting. In entire application (PL/BLL/DAL) we are not using any try catch. So for any exception in any layer application redirect user to custo...
Bolte asked 11/7, 2012 at 3:15
3
Solved
I'm using Elmah to log exceptions. Elmah is great at logging request bodies if the request is a Form-based request (i.e. Content-Type: application/x-www-form-urlencoded), but with JSON based reques...
Iroquois asked 31/12, 2011 at 5:18
2
Solved
When I run some java program with a command java ExceptionTest , exceptions are sometimes omitted and looks like
Exception in thread "main" java.lang.NoClassDefFoundError: aa/bb/DD
at SOMEW...
Scarificator asked 1/9, 2012 at 8:56
4
Solved
I tried this solution with Elmah.XmlFileErrorLog but I'm getting following exception
System.ArgumentNullException was unhandled by user code
Message="Value cannot be null.\r\nParameter name: cont...
Cozmo asked 8/6, 2010 at 12:6
2
Solved
LogException or any of the derived functions like ErrorException etc. seem to totally ignore the exception parameter passed in.
Am I missing a format attribute in my nlog.config file?
I am using t...
Vershen asked 6/4, 2011 at 12:54
11
Solved
I’m used to having try/catch blocks in every method. The reason for this is so that I can catch every exception at the point of infraction and log it. I understand, from my reading and conversation...
Sallust asked 26/6, 2009 at 17:32
1
© 2022 - 2024 — McMap. All rights reserved.