[erlang-patches] format_status analog for error_info
Thu Feb 25 16:56:42 CET 2010
On Thu, Feb 25, 2010 at 10:34:03AM -0500, Andrew Thompson wrote:
> On Thu, Feb 25, 2010 at 07:49:28AM +0100, Bj??rn Gustavsson wrote:
> > On Wed, Feb 24, 2010 at 10:08 PM, Andrew Thompson <> wrote:
> > > Okay, I took a stab at implementing it:
> > >
> > > git fetch git://github.com/Vagabond/otp.git error_info_modify_state_data
> > Thanks! Will include in 'pu'.
> > One question: Would the same kind of change also make sense
> > for the gen_event module?
> Yeah, I forgot that gen_event had a terminate(). I can certainly add
> support for that too (it looks a tiny bit more complicated).
> However, would you prefer Steve's format_status alternative or is the
> OTP team fine with my approach? I don't really mind which way we do it,
> so long as it becomes possible.
Hah! gen_event actually uses the result of terminate() to start the new
handler - I'd forgotten that. That makes things a lot more complicated.
More information about the erlang-patches