Skip to content

Commit a24ce6a

Browse files
committed
Documentation for raising or suppressing errors
1 parent 474b121 commit a24ce6a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.markdown

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ Usage
3232

3333
FakeResque.activate!
3434

35+
# By default FakeResque will swallow any errors. To raise errors
36+
37+
FakeResque.raise_errors!
38+
39+
# To restore the original behavior of swallowing errors
40+
41+
FakeResque.suppress_errors!
42+
43+
3544
Installation
3645
------------
3746

@@ -65,4 +74,4 @@ Meta
6574

6675
[0]: http://help.github.com/forking/
6776
[1]: http://github.com/jacobat/fake-resque/issues
68-
[2]: http://github.com/defunkt/fakefs
77+
[2]: http://github.com/defunkt/fakefs

0 commit comments

Comments
 (0)