caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlnet: Disabling global exception handling
@ 2007-05-07 10:53 Joel Reymont
  2007-05-07 11:25 ` [Caml-list] " Christophe TROESTLER
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Reymont @ 2007-05-07 10:53 UTC (permalink / raw)
  To: OCaml List

Is there a way to disable global exception handling in ocamlnet?

A suggestion on what to comment out in the source code would do as well.

I would actually like my app to crash and burn on exception,  
hopefully providing me with a stack trace and thus a pointer on where  
the exceptions are coming from.

	Thanks, Joel

--
http://wagerlabs.com/






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] ocamlnet: Disabling global exception handling
  2007-05-07 10:53 ocamlnet: Disabling global exception handling Joel Reymont
@ 2007-05-07 11:25 ` Christophe TROESTLER
  0 siblings, 0 replies; 2+ messages in thread
From: Christophe TROESTLER @ 2007-05-07 11:25 UTC (permalink / raw)
  To: joelr1; +Cc: caml-list

On Mon, 7 May 2007, Joel Reymont <joelr1@gmail.com> wrote:
> 
> Is there a way to disable global exception handling in ocamlnet?

If it is about Netcgi2, set the default_exn_handler (in the "config"
record) to false, i.e. use { default_config with default_exn_handler=false}.

Cheers,
ChriS


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-07 11:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-07 10:53 ocamlnet: Disabling global exception handling Joel Reymont
2007-05-07 11:25 ` [Caml-list] " Christophe TROESTLER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).