Some fixes

This commit is contained in:
momo5502
2024-09-20 17:33:09 +02:00
parent 8130d12089
commit 8f2547cceb
2 changed files with 9 additions and 5 deletions

View File

@@ -1836,7 +1836,11 @@ void syscall_dispatcher::add_handlers()
#ifndef NDEBUG
if (!handler_mapping.empty())
{
throw std::runtime_error("Unmapped handlers!");
puts("Unmapped handlers:");
for (const auto& h : handler_mapping)
{
printf(" %s\n", h.first.c_str());
}
}
#endif
}