Skip to content

Commit

Permalink
mention that the error event in Mojo::Reactor is dangerous
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 29, 2013
1 parent 652596e commit dd8d6db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Mojo/Reactor.pm
Expand Up @@ -77,7 +77,8 @@ the following new ones.
...
});
Emitted for exceptions caught in callbacks.
Emitted for exceptions caught in callbacks. Note that if this event fails it
might kill your program, so you need to be careful.
$reactor->on(error => sub {
my ($reactor, $err) = @_;
Expand Down

0 comments on commit dd8d6db

Please sign in to comment.