mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 22:28:45 +00:00
liverpool: Print error on exception
This commit is contained in:
parent
1a4c82aeac
commit
2aefd73776
1 changed files with 5 additions and 1 deletions
|
@ -1040,7 +1040,11 @@ private:
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
void unhandled_exception() {
|
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() {}
|
void return_void() {}
|
||||||
struct empty {};
|
struct empty {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue