mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
fix: improved pattern editor task handling
This commit is contained in:
@@ -332,6 +332,7 @@ namespace hex {
|
||||
}
|
||||
} catch (const Task::TaskInterruptor &) {
|
||||
// Handle the task being interrupted by user request
|
||||
log::debug("Task '{}' was interrupted", task->m_unlocalizedName.get());
|
||||
task->interruption();
|
||||
} catch (const std::exception &e) {
|
||||
log::error("Exception in task '{}': {}", task->m_unlocalizedName.get(), e.what());
|
||||
|
||||
Reference in New Issue
Block a user