Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle more than just StandardError-subclassed exceptions.
We want to handle ALL exceptions. Otherwise, a poorly behaved bit of code could kill a worker. Usually, you don't want to handle all exceptions since you want to let ruby's built-in signal-handling code work (e.g. so that ctrl-c can kill a script). We handle signals manually here, though.
- Loading branch information
1 parent
b0565e9
commit 4a8f14e
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters