Skip to content

Commit 7d29893

Browse files
katrinafyitgodzik
andauthored
improve tasty failure message
Co-authored-by: Tomasz Godzik <[email protected]>
1 parent bc6ad01 commit 7d29893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ object ScaladocTastyInspector:
162162
if tastyPaths.nonEmpty then
163163
val tastyOk = TastyInspector.inspectAllTastyFiles(tastyPaths, jarPaths, classpath)(inspector)
164164
if !tastyOk then
165-
report.error("Failure")
165+
report.error("Failed to analyse some of the tasty files, please check the above logs for details")
166166

167167
val all = inspector.topLevels.result()
168168
all.groupBy(_._1).map { case (pckName, members) =>

0 commit comments

Comments
 (0)