We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1bcfff commit 9409997Copy full SHA for 9409997
1 file changed
src/main/kotlin/stageguard/sctimetable/utils/InteractiveConversationHelper.kt
@@ -174,7 +174,9 @@ class InteractiveConversationBuilder(
174
val calculatedTimeLimit = if(timeoutLimit == -2L) (if(UNLIMITED_TIME) Long.MAX_VALUE else timeoutLimitation) else (if(timeoutLimit == -1L) Long.MAX_VALUE else timeoutLimit)
175
repeat(calculatedTryLimit) {
176
val nextMsg = eventContext.nextMessage(calculatedTimeLimit)
177
- runCatching { if(checkBlock(nextMsg)) return mapBlock(nextMsg) }
+ runCatching {
178
+ if(checkBlock(nextMsg)) return mapBlock(nextMsg)
179
+ }
180
send("mismatched message.")
181
}
182
throw QuitConversationExceptions.IllegalInputException()
0 commit comments