I spawn a thread on Application_Start and would like to log exceptions. There is not Context/HttpContext/HttpContext.Current, so how might i get it to log?
ATM it does not catch any exception in my threads and if i write ErrorSignal.FromCurrentContext().Raise(ex);
i get an error about context cannot be null.
Maybe i can create a dummy HttpContext but somehow i dont think that will work well.
-edit- i tried ErrorSignal.Get(new HttpApplication()).Raise(ex);
and it doesnt seem to pick up that exception.