forked from lavina/lavina
1
0
Fork 0

warn on unhandled irc message

This commit is contained in:
Nikita Vilunov 2023-02-14 20:56:31 +01:00
parent 4e5ccd604c
commit 39fed80106
1 changed files with 3 additions and 1 deletions

View File

@ -333,8 +333,10 @@ async fn handle_incoming_message(
} }
Chan::Local(_) => {} Chan::Local(_) => {}
}; };
},
cmd => {
log::warn!("Not implemented handler for client command: {cmd:?}");
} }
_ => {}
}, },
Err(err) => { Err(err) => {
log::warn!("Failed to parse IRC message: {err}"); log::warn!("Failed to parse IRC message: {err}");