Skip to content

Commit a2e8a88

Browse files
committed
remove debugging code leftover
1 parent fe6e667 commit a2e8a88

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/lang/DocumentationPreprocessor.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ class DocumentationPreprocessor : KotlinIntegration {
3939
val parsed = parseClean(doc)
4040

4141
val renderer = MarkdownRenderer()
42-
try {
43-
parsed.body().traverse(renderer)
44-
} catch (e: IndexOutOfBoundsException) {
45-
throw Exception("These are the docs causing issues: \n" + doc)
46-
}
42+
parsed.body().traverse(renderer)
4743
return renderer.text()
4844
}
4945

0 commit comments

Comments
 (0)