Skip to content

Commit 5aff984

Browse files
committed
actually print documentation build errors
1 parent f3912f8 commit 5aff984

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/SymbolGraphBuilder/SSGC.Compile.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ extension SSGC.Compile
182182
}
183183
catch let error as SSGC.DocumentationBuildError
184184
{
185+
// We need to print the error here, otherwise it will be lost.
186+
print(error)
187+
185188
switch error
186189
{
187190
case .scanning: try status.send(.failedToLoadSymbolGraph)

0 commit comments

Comments
 (0)