Commit acf296d
authored
Provide an environment flag to disable error backtrace capturing. (#812)
In performance-sensitive environments that throw many errors, the cost
of capturing a backtrace for each one may be prohibitive. This PR allows
disabling backtrace capture in environments where this is a problem.
Resolves #791.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.1 parent 699ec22 commit acf296d
1 file changed
+17
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
363 | 359 | | |
364 | | - | |
365 | | - | |
366 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
367 | 365 | | |
368 | | - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
369 | 375 | | |
370 | 376 | | |
371 | 377 | | |
| |||
0 commit comments