Browse files

Added a note about on_failure hooks to doc

The on_failure hook is already documented. I simply added a note that the
Reque::DirtyExit exception is also passed to the hook now.
  • Loading branch information...
raykrueger authored and dbackeus committed Sep 22, 2011
1 parent 0039600 commit 468da8d18aba455326599fc8705450bd4cbe7c17
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/
@@ -86,7 +86,7 @@ The available hooks are:
`Resque::Failure` backend.
* `on_failure`: Called with the exception and job args if any exception occurs
- while performing the job (or hooks).
+ while performing the job (or hooks), this includes Resque::DirtyExit.
Hooks are easily implemented with superclasses or modules. A superclass could
look something like this.

0 comments on commit 468da8d

Please sign in to comment.