[erlang-patches] format_status analog for error_info

Andrew Thompson <>
Mon Mar 1 19:16:46 CET 2010


On Sun, Feb 28, 2010 at 01:13:37AM -0500, Steve Vinoski wrote:
> This patch is ready:
> 
> git fetch git://github.com/vinoski/otp.git format_status_error_info
> 
> Since gen_event did not previously have format_status callback support, I
> made these changes in two commits: the first to add termination support to
> existing format_status support in gen_fsm and gen_server along with doc and
> unit tests, and the second commit to add the format_status callback support
> to gen_event along with related doc and unit tests.
>

The patch looks good to me, except that I *think* (github makes it hard
to tell) that the indenting on line 545 of gen_fsm.erl is wrong
(FmtStateData = .. end should line up with the call to error_info).

The documentation changes look good too. Thanks for your work on this.

Andrew


More information about the erlang-patches mailing list