fix: ignore Message::Frame

This commit is contained in:
FabianLars
2022-02-18 23:01:14 +01:00
parent 71bff7ce31
commit 476882878c
+1
View File
@@ -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)