We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72e7506 commit b73bd04Copy full SHA for b73bd04
plugins/kotlin-dataframe/src/org/jetbrains/kotlinx/dataframe/plugin/extensions/IrBodyFiller.kt
@@ -87,7 +87,12 @@ class IrBodyFiller(
87
val file = File(dir, "schemas.json")
88
val res = if (file.exists()) {
89
val json = file.readText()
90
- Json.decodeFromString<List<IoSchema>>(json) + schemas
+ val res = try {
91
+ Json.decodeFromString<List<IoSchema>>(json)
92
+ } catch (e: Exception) {
93
+ emptyList()
94
+ }
95
+ res + schemas
96
} else {
97
schemas
98
}
0 commit comments