[erlang-questions] does shell:catch_exception(true) actually work?

Kevin <>
Thu Mar 26 23:27:01 CET 2009

Richard Carlsson richardc-at-it.uu.se |erlang| wrote:
> Kevin wrote:
>> I've done all the googleing I could and still can't find an answer to 
>> this.  This is making working with the shell
>> very difficult since one slip up and my history is gone.  Am I 
>> missing something here?
>> 2> bogus().
>> *** ERROR: Shell process terminated! ***
>> =ERROR REPORT==== 26-Mar-2009::14:31:32 ===
>> Error in process <0.26.0> with exit value: 
>> {undef,[{lib,format_exception,[3,error,{shell_undef,bogus,0},[{shell,shell_undef,2},{erl_eval,local_func,5},{shell,exprs,6},{shell,eval_exprs,6},{shell,eval_loop,3}],#Fun<shell.5.34888280>,#Fun<shell.4.77554270>]},{shell,report_exception,4},{shell,shell_rep,4},{shell... 
> Have you perchance named a module 'lib'? That could be why the shell
> fails to call the library function lib:format_exception(), and dies.
>     /Richard
Thats it. 

Thought I checked for a lib, but I guess I blew it. 


More information about the erlang-questions mailing list