I have an ASP.NET web application project (using MVC) which i've installed the nuget package Elmah.MVC 2.1.2 on. I have additional class library projects of: contracts and services along with a WCF project.
I am trying to capture the exceptions within my service but I am unable to receive the details of the exception. I am presented with a message as so:
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults...
I've searched around on incorporating Elmah with WCF but they all seem to refer to the regular Elmah nuget package, not the Elmah.MVC nuget package which is slightly different and contains different web.config
settings.
I've tried putting a catch of faultexception
in my service but that didn't seem to work. I am also unsure if I have to install ELMAH on my WCF application as well.
Any help would be much appreciated