fix log bug
This commit is contained in:
parent
5f969abc17
commit
6091e23631
@ -46,7 +46,12 @@ impl Rpc {
|
||||
None => None,
|
||||
};
|
||||
|
||||
info!("method={:?} account={:?}", v.method, account.name);
|
||||
let account_name = match &account {
|
||||
Some(a) => a.name.clone(),
|
||||
None => "none".to_string(),
|
||||
};
|
||||
|
||||
info!("method={:?} account={:?}", v.method, account_name);
|
||||
|
||||
// check the method
|
||||
// if no auth required
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user