Skip to content

Commit faf45fe

Browse files
committed
Remove unneeded else branch
1 parent b7ce62f commit faf45fe

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Sources/GRPCInterceptors/Tracing/ServerOTelTracingInterceptor.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@ public struct ServerOTelTracingInterceptor: ServerInterceptor {
154154

155155
return wrappedResult
156156
}
157-
} else {
158-
success.producer = { writer in
159-
return try await wrappedProducer(writer)
160-
}
161157
}
162158

163159
response = .init(accepted: .success(success))

0 commit comments

Comments
 (0)