We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d3d20 commit 1c7a86cCopy full SHA for 1c7a86c
docs/index.rst
@@ -38,6 +38,15 @@ Next you need to configure Raven.js to use your `Sentry DSN
38
39
Raven.config('___PUBLIC_DSN___').install()
40
41
+It is additionally recommended (but not required) to wrap your application start using `Raven.context`.
42
+This can help surface additional errors in some execution contexts.
43
+
44
+.. code-block:: javascript
45
46
+ Raven.context(function () {
47
+ initMyApp();
48
+ });
49
50
At this point, Raven is ready to capture any uncaught exception.
51
52
Once you have Raven up and running, it is highly recommended to check out :doc:`config`
0 commit comments