Skip to content

Commit

Permalink
Increase verbosity to help with debugging decoding issues
Browse files Browse the repository at this point in the history
  • Loading branch information
janseeger committed Feb 13, 2024
1 parent 356e822 commit 8a64732
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class StringMapToObjectDecoder(
)
}

throw SerializationException("Given value is neither a list nor a type $value")
throw SerializationException("Given value is neither a list nor a type! value: $value, type: ${value?.let { it::class.qualifiedName } ?: "null"}")
}

override fun endStructure(descriptor: SerialDescriptor) {
Expand Down

0 comments on commit 8a64732

Please sign in to comment.