fix: ignore Message::Frame

pull/85/head
FabianLars 3 years ago
parent 71bff7ce31
commit 476882878c
No known key found for this signature in database
GPG Key ID: 3B12BC1DEBF61125

@ -122,6 +122,7 @@ fn connect<R: Runtime>(
})))
.unwrap()
}
Ok(Message::Frame(_)) => serde_json::Value::Null, // This value can't be recieved.
Err(e) => serde_json::to_value(Error::from(e)).unwrap(),
};
let js = format_callback(callback_function, &response)

Loading…
Cancel
Save