Terser logging

This commit is contained in:
Tony Garnock-Jones 2023-10-11 21:03:21 +02:00
parent 5338890e76
commit c8fc52a685
1 changed files with 2 additions and 2 deletions

View File

@ -65,9 +65,9 @@ export function boot(ds: Ref, debug: boolean = false, WebSocketConstructor?: typ
function succeed(ws: WebSocket) {
if (final) return;
final = true;
console.log('opened', ws);
console.log('opened', addr.url);
on stop {
console.log('closing', ws);
console.log('closing', addr.url);
ws.close();
}
ws.onclose = () => facet.turn(() => { stop {} });