Skip to content

Commit c46c45d

Browse files
committed
Ooops
1 parent 51592fb commit c46c45d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subscriptions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function open_subscription(fn::Function,
105105
"payload" => payload
106106
)
107107
message_str = JSON3.write(message)
108-
throw_if_assigned = Ref{GraphQLClientException}()
108+
throw_if_assigned = Ref{GraphQLError}()
109109
HTTP.WebSockets.open(client.ws_endpoint; retry=retry, headers=client.headers, suppress_close_error=false) do ws
110110
# Start sub
111111
output_info(verbose) && println("Starting $(get_name(subscription_name)) subscription with ID $sub_id")

0 commit comments

Comments
 (0)