mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-05 11:28:39 +00:00
Log ASP.NET exceptions
This commit is contained in:
parent
f6326525f3
commit
2005c64379
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ namespace LBPUnion.ProjectLighthouse.Logging {
|
|||
};
|
||||
|
||||
Logger.Log(state.ToString(), loggerLevel);
|
||||
if(exception != null) {
|
||||
Logger.Log(exception.ToString(), loggerLevel);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue