Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Sources/GRPCCore/GRPCClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ public final class GRPCClient<Transport: ClientTransport>: Sendable {
case .stopping, .stopped:
throw RuntimeError(
code: .clientIsStopped,
message: "The client has stopped and can only be started once."
message: """
Can't call 'runConnections()' as the client is stopped (or is stopping). \
This can happen if the you call 'runConnections()' after shutting the \
client down or if you used 'withGRPCClient' with an empty body.
"""
)
}
}
Expand Down