We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e2ad5 commit 22d7b0aCopy full SHA for 22d7b0a
1 file changed
README.md
@@ -26,6 +26,12 @@ function setupSubscriptions () {
26
FurhatGUI()
27
.then(connection => {
28
furhat = connection
29
+ furhat.onConnectionError((_connection: WebSocket, ev: globalThis.Event) => {
30
+ console.error("Error occured while connecting to Furhat skill")
31
+ })
32
+ furhat.onConnectionClose(() => {
33
+ console.warn("Connection with Furhat skill has been closed")
34
35
setupSubscriptions()
36
})
37
.catch(console.error)
0 commit comments