Print this only once on the first catch block.
| 695 | |
| 696 | // Print this only once on the first catch block. |
| 697 | void CVMAbortException::MaybePrintMessage() |
| 698 | { |
| 699 | auto m = GetMessage(); |
| 700 | if (m != nullptr) |
| 701 | { |
| 702 | Printf(PRINT_NONOTIFY | PRINT_BOLD, TEXTCOLOR_RED "%s\n", m); |
| 703 | SetMessage(""); |
| 704 | } |
| 705 | } |
| 706 | |
| 707 | |
| 708 | [[noreturn]] void ThrowAbortException(EVMAbortException reason, const char *moreinfo, ...) |
no test coverage detected