mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-02-09 13:58:44 -06:00
sys: Log to a file when ImHex wasn't opened though a terminal
This commit is contained in:
@@ -49,7 +49,8 @@ namespace hex::init {
|
||||
|
||||
try {
|
||||
status = task() && status;
|
||||
} catch (...) {
|
||||
} catch (std::exception &e) {
|
||||
log::error("Init task {} threw an exception: {}", name, e.what());
|
||||
status = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user