Skip to content

Commit

Permalink
Use debug log level for unknown gateway event names (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
viztea authored Nov 20, 2023
1 parent 29a904b commit f8d4333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/commonMain/kotlin/Event.kt
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ public sealed class Event {


else -> {
jsonLogger.warn { "unknown gateway event name $name" }
jsonLogger.debug { "unknown gateway event name $name" }
// consume json elements that are unknown to us
val data = decoder.decodeSerializableElement(descriptor, index, JsonElement.serializer().nullable)
UnknownDispatchEvent(name, data, sequence)
Expand Down

0 comments on commit f8d4333

Please sign in to comment.