mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 04:16:32 +02: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