I am using Enterprise Library 4.x for my exception handling logging (ASP.NET application).
Here is the EntLib method I am calling:
ExceptionPolicy.HandleException(ex, exceptionPolicy.ToString());
How can I add a bit more details to the exception, like current request url, current user name, etc.?
I know I could wrap it in my exception and setting original exception as inner exception but that just doesn't seem right.