Adjusting exception

This commit is contained in:
Brage Skjønborg committed 2026-03-10 21:01:36 +01:00
1 parent b0f0cd9936
commit 39960093fc
1 file changed
+2 -2
@@ -15,10 +15,10 @@ sealed class SoftDispatchException(
)
class SkipListenerException(
reason: String,
reason: String? = "",
currentEvent: Class<out Event>
) : SoftDispatchException(
message = "Listener skipped: $reason",
message = reason?.ifBlank { "Skipping Listener" } ?: "Listener skipped: $reason",
eventType = currentEvent
)