Skip to content

Commit

Permalink
Log exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
momo5502 committed Aug 31, 2024
1 parent 01bced1 commit 67212a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/windows_emulator/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ namespace
{
this->emu_->start_from_ip();
}
catch (...)
catch (const std::exception& e)
{
return gdb_action::resume;
puts(e.what());
}

return gdb_action::resume;
Expand All @@ -317,9 +317,9 @@ namespace
{
this->emu_->start_from_ip({}, 1);
}
catch (...)
catch (const std::exception& e)
{
return gdb_action::resume;
puts(e.what());
}

return gdb_action::resume;
Expand Down

0 comments on commit 67212a2

Please sign in to comment.