mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 20:19:34 +00:00
wallet_rpc_server: return false on error in set_log_categories
Reported by SmajeNz0
This commit is contained in:
parent
968848a77b
commit
9074c0d8cf
1 changed files with 1 additions and 1 deletions
|
@ -4176,7 +4176,7 @@ namespace tools
|
||||||
{
|
{
|
||||||
er.code = WALLET_RPC_ERROR_CODE_INVALID_LOG_LEVEL;
|
er.code = WALLET_RPC_ERROR_CODE_INVALID_LOG_LEVEL;
|
||||||
er.message = "Error: log level not valid";
|
er.message = "Error: log level not valid";
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
mlog_set_log_level(req.level);
|
mlog_set_log_level(req.level);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue