Skip to content

Commit

Permalink
mention that crashing is not just for development
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 11, 2014
1 parent 45f925e commit 9c43af5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -559,8 +559,9 @@ by L<Mojo::IOLoop> as a fallback.

Mojo::IOLoop->singleton->reactor->unsubscribe('error');

During development you can also make every exception that gets thrown in a
callback fatal by removing all of its subscribers.
During development or for applications where crashing is simply preferable,
you can also make every exception that gets thrown in a callback fatal by
removing all of its subscribers.

=head2 WebSocket web service

Expand Down

0 comments on commit 9c43af5

Please sign in to comment.