aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/event.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/src/event.rs b/core/src/event.rs
index e8692ef..876fda5 100644
--- a/core/src/event.rs
+++ b/core/src/event.rs
@@ -104,7 +104,10 @@ where
let mut topics = self.listeners.lock().await;
if !topics.contains_key(topic) {
- error!("Failed to emit an event to a non-existent topic");
+ trace!(
+ "Failed to emit an event to a non-existent topic {:?}",
+ topic
+ );
return;
}
@@ -112,7 +115,10 @@ where
let event_id = E::id().to_string();
if !event_ids.contains_key(&event_id) {
- error!("Failed to emit an event to a non-existent event id");
+ trace!(
+ "Failed to emit an event to a non-existent event id: {:?}",
+ event_id
+ );
return;
}