File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Sources/SourceKitLSP/Swift Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import DocCDocumentation
16
16
import Foundation
17
17
package import LanguageServerProtocol
18
18
import SemanticIndex
19
+ import SKLogging
19
20
import SwiftExtensions
20
21
import SwiftSyntax
21
22
@@ -67,12 +68,14 @@ extension SwiftLanguageService {
67
68
throw ResponseError . internalError ( " Unable to retrieve symbol graph for the document " )
68
69
}
69
70
// Locate the documentation extension and include it in the request if one exists
70
- let markupExtensionFile = try ? await findMarkupExtensionFile (
71
- workspace: workspace,
72
- documentationManager: documentationManager,
73
- catalogURL: catalogURL,
74
- for: symbolUSR
75
- )
71
+ let markupExtensionFile = await orLog ( " Finding markup extension file for symbol \( symbolUSR) " ) {
72
+ try await findMarkupExtensionFile (
73
+ workspace: workspace,
74
+ documentationManager: documentationManager,
75
+ catalogURL: catalogURL,
76
+ for: symbolUSR
77
+ )
78
+ }
76
79
return try await documentationManager. renderDocCDocumentation (
77
80
symbolUSR: symbolUSR,
78
81
symbolGraph: symbolGraph,
You can’t perform that action at this time.
0 commit comments