liverpool: Print error on exception
This commit is contained in:
parent
1a4c82aeac
commit
2aefd73776
|
@ -1040,7 +1040,11 @@ private:
|
|||
return {};
|
||||
}
|
||||
void unhandled_exception() {
|
||||
UNREACHABLE();
|
||||
try {
|
||||
std::rethrow_exception(std::current_exception());
|
||||
} catch (const std::exception& e) {
|
||||
UNREACHABLE_MSG("Unhandled exception: {}", e.what());
|
||||
}
|
||||
}
|
||||
void return_void() {}
|
||||
struct empty {};
|
||||
|
|
Loading…
Reference in New Issue