I added a try catch in my code to raise error
but there shows error--->The name ex doesnot exist in the corrent contest
I also added a namespace--->using System.Runtime.Remoting.Contexts;
Still ex shows red in clr...How can I fix it?
try
{
//line of code
}
catch (Exception exc)
{
ex.errlog(exc, HttpContext.Current.Request.URL.ToString());
}
Rafnas T PPosted Apr 7, 2018, 10:10 AM
exc.StackTrace
Soumya PsPosted Apr 10, 2018, 10:26 PM
Soumya PsPosted Apr 10, 2018, 1:46 AM
Manav PandyaPosted Apr 7, 2018, 2:36 PM