Log event subscription error as a warning
This commit is contained in:
parent
842d54732b
commit
6759a5c56f
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue