Skip to content

Commit f5209ee

Browse files
authored
Merge pull request #2329 from ahoppen/log-scope-wrapping
Add missing parentheses around logging scope computation
2 parents 16c60b5 + 4dac2bb commit f5209ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftSourceKitPlugin/Plugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ final class RequestHandler: Sendable {
5858
func produceResult(
5959
body: @escaping @Sendable () async throws -> SKDResponseDictionaryBuilder
6060
) -> HandleRequestResult {
61-
withLoggingScope("request-\(handle?.numericValue ?? 0 % 100)") {
61+
withLoggingScope("request-\((handle?.numericValue ?? 0) % 100)") {
6262
let start = Date()
6363
logger.debug(
6464
"""

0 commit comments

Comments
 (0)