File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -92,16 +92,6 @@ For instance to report a ``failure::Error`` this code can be used:
9292 }
9393 };
9494
95- For this particular case a shortcut is also provided:
96-
97- .. sourcecode :: rust
98-
99- use sentry::integrations::failure: :tap_error;
100-
101- let result = tap_error(a_function_that_might_fail())?;
102-
103- Similarly the functions ``capture_fail `` and ``tap_fail `` can be used to
104- work with `Fail ` trait objects instead.
10595
10696Catching Panics
10797---------------
@@ -132,19 +122,6 @@ implementation (it will wait up to 2 seconds for this):
132122 let _guard = sentry::init(...);
133123 }
134124
135- Alternatively you can call ``sentry::drain_events `` which takes an
136- explicit timeout:
137-
138- .. sourcecode :: rust
139-
140- use std::time: :Duration;
141-
142- fn main() {
143- sentry::init(...);
144- // ...
145- sentry::drain_events(Some(Duration::from_secs(2)));
146- }
147-
148125More Information
149126----------------
150127
You can’t perform that action at this time.
0 commit comments