fix: remove TODO + show error message when reading/write in process provider (#1516)

This commit is contained in:
iTrooz
2024-01-26 19:44:52 +01:00
committed by GitHub
parent d23d382038
commit a4d6932ed8
2 changed files with 2 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ namespace hex::plugin::builtin {
auto read = process_vm_readv(m_processId, &local, 1, &remote, 1, 0);
if (read == -1) {
// TODO error handling strerror(errno)
log::error("Process memory provider failed to read data: {}", strerror(errno));
}
#endif
}
@@ -82,7 +82,7 @@ namespace hex::plugin::builtin {
auto read = process_vm_writev(m_processId, &local, 1, &remote, 1, 0);
if (read == -1) {
// TODO error handling strerror(errno)
log::error("Process memory provider failed to write data: {}", strerror(errno));
}
#endif
}