It is probably that your throwing code is before use set AppDomain.CurrentDomain.UnhandledException
or because you put it in OnStart
method
Second option is because it is ThreadException
.
Bot above problems were discussed before in following threads: