| 442 | } |
| 443 | |
| 444 | void printExceptionStackTraces() { |
| 445 | auto exceptions = folly::exception_tracer::getCurrentExceptions(); |
| 446 | for (auto& exc : exceptions) { |
| 447 | std::cerr << exc << std::endl; |
| 448 | } |
| 449 | } |
| 450 | |
| 451 | } // namespace util |
| 452 | } // namespace cachelib |