Log broadcast error as an error instead of a warning

This commit is contained in:
Héctor Ramón Jiménez 2019-12-14 06:42:26 +01:00
parent d6c3da21f7
commit 3daa9c2cc8

View File

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