Report open errors from the quick hash check

With no other hash check running, nothing retries it later.
This commit is contained in:
noctuum
2026-10-21 09:00:04 +05:00
committed by Jari Sundell
parent 0038868a0b
commit 40658e20d9
+2 -1
View File
@@ -436,8 +436,9 @@ Manager::receive_hashing_changed() {
if (tryQuick) { if (tryQuick) {
// Make sure we don't repeat the quick hashing. // Make sure we don't repeat the quick hashing.
rpc::call_command_set_value("d.hashing.set", Download::variable_hashing_rehash, rpc::make_target(*itr)); rpc::call_command_set_value("d.hashing.set", Download::variable_hashing_rehash, rpc::make_target(*itr));
}
} else { if (!tryQuick || !foundHashing) {
(*itr)->set_hash_failed(true); (*itr)->set_hash_failed(true);
(*itr)->set_message("Hashing failed: " + std::string(e.what())); (*itr)->set_message("Hashing failed: " + std::string(e.what()));