mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
wallet_rpc_server: return false on error in set_log_categories
Reported by SmajeNz0
This commit is contained in:
parent
968848a77b
commit
9074c0d8cf
@ -4176,7 +4176,7 @@ namespace tools
|
||||
{
|
||||
er.code = WALLET_RPC_ERROR_CODE_INVALID_LOG_LEVEL;
|
||||
er.message = "Error: log level not valid";
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
mlog_set_log_level(req.level);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user