Skip to content

Commit

Permalink
Fix logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
thmull committed Aug 9, 2023
1 parent 63c88ca commit 9491ec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion channels/quic.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ func (q *QUICChannel) server(listener *quic.Listener) {
conn, err := net.Dial("tcp", fmt.Sprintf("localhost:%d", port))

if err != nil {
hyper.Log.Error("Cannot connect to local port %d", port)
hyper.Log.Errorf("Cannot connect to local port %d", port)
stream.Close()
return
}

Expand Down
2 changes: 1 addition & 1 deletion settings/dev/roles/quic-1/001_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ channels: # defines all the channels that we want to open when starting the serv
channels:
- remote:
host: quic-2
port: 4444
port: 6379
local:
port: 5555
tls:
Expand Down

0 comments on commit 9491ec0

Please sign in to comment.