Log event subscription error as a warning

This commit is contained in:
Héctor Ramón Jiménez 2021-02-23 02:16:12 +01:00
parent 842d54732b
commit 6759a5c56f
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ where
.filter_map(|connection| connection.listener.as_mut()) .filter_map(|connection| connection.listener.as_mut())
.for_each(|listener| { .for_each(|listener| {
if let Err(error) = listener.try_send(event.clone()) { if let Err(error) = listener.try_send(event.clone()) {
log::error!( log::warn!(
"Error sending event to subscription: {:?}", "Error sending event to subscription: {:?}",
error error
); );