Skip to content

Commit a076ab5

Browse files
committed
Add url logging to wt
1 parent 0c6b6d8 commit a076ab5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/avtransport.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,14 @@ export class AVTransport {
123123
})
124124
await this.transport.ready
125125
webtransport = true
126-
console.log('webtransport is ready' /*, this.transport */)
126+
console.log('webtransport is ready to', url /*, this.transport */)
127127
} catch (error) {
128-
console.log('webtransport connection or closed failed', error)
128+
console.log(
129+
'webtransport connection or closed failed to',
130+
url,
131+
'with error:',
132+
error
133+
)
129134
this.connectedrej(error)
130135
}
131136

0 commit comments

Comments
 (0)