aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Events/EventBus.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slskd/Events/EventBus.cs b/src/slskd/Events/EventBus.cs
index b38591b3..d51e2fd7 100644
--- a/src/slskd/Events/EventBus.cs
+++ b/src/slskd/Events/EventBus.cs
@@ -93,6 +93,10 @@ public class EventBus
Task.Run(() => (subscriber.Value as Func<T, Task>)(data))
.ContinueWith(task => Log.Error(task.Exception, "Subscriber {Name} for {Type} encountered an error: {Message}", subscriber.Key, typeof(T), task.Exception.Message))));
}
+ else
+ {
+ Log.Debug("No subscribers for {Type}", typeof(T));
+ }
}
/// <summary>