@@ -423,7 +423,7 @@ func (s *Server) handleWebsocket(w http.ResponseWriter, r *http.Request) {
423
423
424
424
log .Tracef ("responding with %v" , spew .Sdump (ping ))
425
425
if err := bssapi .Write (r .Context (), bws .conn , "0" , ping ); err != nil {
426
- log .Errorf ("Write: %v" , err )
426
+ log .Tracef ("Write: %v" , err )
427
427
}
428
428
429
429
log .Infof ("Unauthenticated connection from %v" , r .RemoteAddr )
@@ -471,7 +471,7 @@ func (s *Server) deleteSession(id string) {
471
471
472
472
func writeNotificationResponse (bws * bssWs , response any ) {
473
473
if err := bssapi .Write (bws .requestContext , bws .conn , "" , response ); err != nil {
474
- log .Errorf (
474
+ log .Tracef (
475
475
"handleBtcFinalityNotification write: %v %v" ,
476
476
bws .addr ,
477
477
err ,
@@ -530,7 +530,7 @@ func (s *Server) handleBFGWebsocketReadUnauth(ctx context.Context, conn *protoco
530
530
Timestamp : time .Now ().Unix (),
531
531
}
532
532
if err := bfgapi .Write (ctx , conn , rid , response ); err != nil {
533
- log .Errorf ("handleBFGWebsocketReadUnauth write: %v" ,
533
+ log .Tracef ("handleBFGWebsocketReadUnauth write: %v" ,
534
534
err )
535
535
}
536
536
case bfgapi .CmdBTCFinalityNotification :
0 commit comments