summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-06-25 15:06:32 +0200
committerClombrong <cromblong@egregore.fun>2025-06-25 15:06:32 +0200
commit5f52ab70862cfa8332ec5bd9d1dc3d3f6af37d16 (patch)
tree7e7cdedd61afb2c854415d030403bdc7ba569d4d
parent9bd90b858e01434504daedf27188b8874c87f5d4 (diff)
fix(portal_websockets): change failure message
-rw-r--r--portal/ws/portal.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/portal/ws/portal.ml b/portal/ws/portal.ml
index 527c5f9..2916e66 100644
--- a/portal/ws/portal.ml
+++ b/portal/ws/portal.ml
@@ -70,7 +70,7 @@ let ws_endpoint (domain : string) : string Lwt.t =
Js_of_ocaml_lwt.XmlHttpRequest.perform_raw_url (well_known_of domain)
in match parse_xrd host_meta.content with
| Some x -> Lwt.return x
- | None -> Lwt.fail_with (domain ^ "doesn't advertise a WebSocket endpoint via Web-host Metadata.")
+ | None -> Lwt.fail_with (domain ^ ": no WebSocket endpoint in Web-host Metadata.")
let ws_stream (url : string) =
(** [ws_stream url] is a promise to a framed Lwt stream (and its push function)