@@ -21,11 +21,39 @@ Integrations are configured by a call to `init()` method.
21
21
22
22
PHP provides some additional options, all options can be passed into ` init() ` .
23
23
24
- #### send_attempts
24
+ #### capture_silenced_errors
25
+ {% include components/alert.html
26
+ content="This option was introduced in version 2.0.1"
27
+ level="notice"
28
+ %}
29
+ This option enables capturing errors which were silenced using the ` @ ` operator
30
+ in your source code. Defaults to ` false ` .
25
31
26
- The number of attempts that should be made to send an event before erroring
27
- and dropping it from the queue.
28
- By default this option is set to ` 6 ` .
32
+ #### context_lines
33
+
34
+ This option sets the number of lines of code context to capture. If ` null ` is
35
+ set as the value, no source code lines will be added to each stack trace frame.
36
+ By default this option is set to ` 3 ` .
37
+
38
+ #### enable_compression
39
+
40
+ If this option is enabled, ` gzip ` compression will be enabled. Default is ` true ` .
41
+
42
+ #### excluded_app_paths
43
+
44
+ This option configures the list of paths to exclude from the ` app_path ` detection.
45
+
46
+ #### excluded_exceptions
47
+
48
+ Sometimes you may want to skip capturing certain exceptions. This option sets
49
+ the FQCN of the classes of the exceptions that you don't want to capture. The
50
+ check is done using the ` instanceof ` operator against each item of the array
51
+ and if at least one of them passes the event will be discarded.
52
+
53
+ #### prefixes
54
+
55
+ This option sets the list of prefixes which should be stripped from the filenames
56
+ to create relative paths.
29
57
30
58
#### project_root
31
59
@@ -48,31 +76,11 @@ code".
48
76
49
77
```
50
78
51
- #### enable_compression
52
-
53
- If this option is enabled, ` gzip ` compression will be enabled. Default is ` true ` .
54
-
55
- #### context_lines
56
-
57
- This option sets the number of lines of code context to capture. If ` null ` is
58
- set as the value, no source code lines will be added to each stack trace frame.
59
- By default this option is set to ` 3 ` .
60
-
61
- #### excluded_exceptions
62
-
63
- Sometimes you may want to skip capturing certain exceptions. This option sets
64
- the FQCN of the classes of the exceptions that you don't want to capture. The
65
- check is done using the ` instanceof ` operator against each item of the array
66
- and if at least one of them passes the event will be discarded.
67
-
68
- #### excluded_app_paths
69
-
70
- This option configures the list of paths to exclude from the ` app_path ` detection.
71
-
72
- #### prefixes
79
+ #### send_attempts
73
80
74
- This option sets the list of prefixes which should be stripped from the filenames
75
- to create relative paths.
81
+ The number of attempts that should be made to send an event before erroring
82
+ and dropping it from the queue.
83
+ By default this option is set to ` 6 ` .
76
84
77
85
## Transport
78
86
0 commit comments