mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 09:28:52 +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
@ -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 New Issue
Block a user