gen_server and the run-time errors

info info@REDACTED
Tue Dec 7 18:50:15 CET 2010


Hello,
I have a run-time error in the init part of a gen_server.
- Init begin by process_flag(trap_exit,true)
- gen_server is part of a supervision tree
I try to print the reason in the terminate module but it seems to exit elsewhere.
- why terminate is not called ?
The application stops with shutdown as reason. 
- How and where to catch the run-time error ?

J-Ph. Constantin
ITS3 Genève
www.its3.ch


More information about the erlang-questions mailing list