Skip to content
Snippets Groups Projects
Commit aa3a3a14 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

Return missing error message to client


Signed-off-by: default avatarSteffen Vogel <steffen.vogel@opal-rt.com>
parent 46a2adec
No related branches found
No related tags found
No related merge requests found
Pipeline #1088350 passed
......@@ -33,6 +33,7 @@ func handleWebsocket(w http.ResponseWriter, r *http.Request) {
}
if err := peer.Connect(w, r); err != nil {
writeError(w, http.StatusInternalServerError, fmt.Errorf("failed to connect peer: %w", err))
return
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment