Skip to content

Commit 413fe6c

Browse files
committed
Fix invalid error responses sent from the Kotlin validator.
It was sending stderr = None essentially for every erroring case, but stderr is (in our schema) always a string. It never sets this anyhow, so just remove it (actually I should double check whether *any* implementation ever sets this rather than setting traceback or message).
1 parent a4f4854 commit 413fe6c

File tree

1 file changed

+0
-1
lines changed
  • implementations/kotlin-kmp-json-schema-validator/src/main/kotlin

1 file changed

+0
-1
lines changed

implementations/kotlin-kmp-json-schema-validator/src/main/kotlin/Responses.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,4 @@ sealed class TestResult {
8181
class ErrorContext(
8282
val message: String? = null,
8383
val traceback: String? = null,
84-
val stderr: String? = null,
8584
)

0 commit comments

Comments
 (0)