Skip to content

Commit 0c91ae2

Browse files
committed
Prune CI unnecessary doc stack traces
The scaladoc TastyParser fails when generating documentation for some files. Every time an error happens, the stack is unnecessarily printed. These stack makes updating the community build harder and the stack traces shadow the real errors.
1 parent ce8a9d7 commit 0c91ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaladoc/src/dotty/tools/scaladoc/tasty/TastyParser.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,6 @@ case class TastyParser(
228228
try Traverser.traverseTree(root)(Symbol.spliceOwner)
229229
catch case e: Throwable =>
230230
println(s"Problem parsing ${root.pos}, documentation may not be generated.")
231-
e.printStackTrace()
231+
// e.printStackTrace()
232232

233233
docs.result()

0 commit comments

Comments
 (0)