refactor: slight log message tweaking
This commit is contained in:
parent
9001cd9701
commit
b20beb6e88
@ -37,7 +37,7 @@ pub async fn handle_event(client: Client, event: Event, state: State) -> anyhow:
|
||||
{
|
||||
ncr_options = Some(options);
|
||||
trimmed.clone_into(&mut content);
|
||||
info!("Decrypted message from {sender}: {content}");
|
||||
info!("decrypted message from {sender}: {content}");
|
||||
}
|
||||
|
||||
if message.is_whisper() && globals.get::<Vec<String>>("Owners")?.contains(&sender) {
|
||||
|
@ -80,8 +80,8 @@ async fn main() -> anyhow::Result<()> {
|
||||
OpenOptions::new()
|
||||
.append(true)
|
||||
.create(true)
|
||||
.open(log_file)
|
||||
.expect("log file should be accessible"),
|
||||
.open(&log_file)
|
||||
.expect(&(log_file + " should be accessible")),
|
||||
)
|
||||
.boxed()
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user