Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
martenrichter committed Dec 29, 2023
1 parent 427e947 commit 199883e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ export class HttpServer {
break
}
} catch (/** @type {any} */ err) {
const error = new WebTransportError('Opening handshake failed.')
log('Problem opening transports:', err)
const error = new WebTransportError('Opening transport failed.')
error.stack = err.stack

throw error
Expand Down

0 comments on commit 199883e

Please sign in to comment.