Log exceptions to eventlog

Simon Marlow marlowsd at gmail.com
Tue Aug 13 16:53:46 CEST 2013


On 12/08/13 10:20, Roman Cheplyaka wrote:
> Hi,
>
> Is there any way to log asynchronous exceptions to the eventlog,
> including information on which thread sent the exception and to which
> thread it was sent?

You can insert events yourself using Debug.Trace.traceEventIO.  Adding 
some built-in events for throwTo would be a good idea, we don't 
currently have that (you could try adding it yourself if you like, it's 
not too hard).

Cheers,
	Simon


>
> Or are there any other ways to get this information?
>
> Roman
>
>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>





More information about the Glasgow-haskell-users mailing list