File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,38 @@ Here you can description of some important configuration options for RollBar.
9393
9494``root ``: Path to your project's root dir. Default ``%kernel.root_dir% ``
9595
96+ ``checkIgnore ``: Function called before sending payload to Rollbar, return true to stop the error from being sent to Rollbar.
97+
98+ Use globally defined function:
99+
100+ .. code-block :: yaml
101+
102+ symfony_rollbar :
103+ # ...
104+ rollbar :
105+ # ...
106+ checkIgnore : ' function_name_here'
107+
108+ Use custom ``CheckIgnoreProvider `` class that should implements ``InterfaceCheckIgnore ``:
109+
110+ .. code-block :: yaml
111+
112+ symfony_rollbar :
113+ # ...
114+ rollbar :
115+ # ...
116+ checkIgnore : ' \SymfonyRollbarBundle\Tests\Fixtures\CheckIgnoreProvider'
117+
118+ Use custom ``CheckIgnoreProvider `` service that class should implements ``InterfaceCheckIgnore ``:
119+
120+ .. code-block :: yaml
121+
122+ symfony_rollbar :
123+ # ...
124+ rollbar :
125+ # ...
126+ checkIgnore : ' awesome_app.rollbar_check_ignore_provider'
127+
96128
97129 RollBar - Person Tracking
98130-------------------------
You can’t perform that action at this time.
0 commit comments