Skip to content

Commit 3ae9225

Browse files
committed
Clarify that Raven.context rethrows exceptions
The docs don't currently make it clear that an exception will be thrown again after Raven.context records it. (This does raise a side question of whether it'd be useful to have a helper which absorbs caught exceptions to reduce the need for try / catch blocks all over the place)
1 parent b6e1eec commit 3ae9225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ It's impossible to retrieve a stack trace from a string. If this happens, Raven
3333
context/wrap
3434
------------
3535

36-
``Raven.context`` allows you to wrap any function to be immediately executed. Behind the scenes, Raven is just wrapping your code in a ``try...catch`` block.
36+
``Raven.context`` allows you to wrap any function to be immediately executed. Behind the scenes, Raven is just wrapping your code in a ``try...catch`` block to record the exception before re-throwing it.
3737

3838
.. code-block:: javascript
3939

0 commit comments

Comments
 (0)