Collapse cascading log levels into LOG_ERRORS / LOG_EVENTS / LOG_DEBUG_TRACE.

This commit is contained in:
Copilot
2026-10-10 18:48:47 +09:00
committed by GitHub
parent 5aa45bbaf4
commit 7ee4b147d9
17 changed files with 56 additions and 57 deletions
+1 -1
View File
@@ -394,7 +394,7 @@ cmd_catch(rpc::target_type target, const torrent::Object& args) {
try {
return rpc::call_object(args, target);
} catch (torrent::input_error& e) {
lt_log_print(torrent::LOG_WARN, "Caught exception: '%s'.", e.what());
lt_log_print(torrent::LOG_ERRORS, "Caught exception: '%s'.", e.what());
return torrent::Object();
}
}