[erlang-questions] Badmatch doesn't propage up in an application?

Vance Shipley <>
Fri Oct 31 18:34:26 CET 2008


Kevin,

You shouldn't worry too much.  The supervisor traps exits during
initialization itself and therefore masks things a bit.  Outside
of that you will get a badmatch which will be much more explicit.

	-Vance

On Fri, Oct 31, 2008 at 06:33:46AM -0000, Kevin wrote:
}  Now when I run the app, i get only this in the error_log (actually the terminal)
}  
}  =INFO REPORT==== 31-Oct-2008::02:20:25 ===
}      application: hydra
}      exited: {shutdown,{hydra,start,[normal,[]]}}
}      type: temporary
}  
}  
}  Well I had to go digging for this for a while, figure out what I had changed.  If this was in production, and that badmatch was a hard to produce error, I NEVER would find it, and that worries me quite a lot.
}  
}  Am I doing it wrong?



More information about the erlang-questions mailing list