Adjusting exception
This commit is contained in:
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
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user