mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix log severity.
This commit is contained in:
parent
377ecd7d06
commit
69e0979aa0
@ -172,7 +172,7 @@ func (manager *WebRTCManager) CreatePeer(id string, session types.Session) (stri
|
||||
manager.logger.Info().Str("id", id).Msg("peer disconnected")
|
||||
manager.sessions.Destroy(id)
|
||||
case webrtc.PeerConnectionStateFailed:
|
||||
manager.logger.Info().Str("id", id).Msg("peer failed")
|
||||
manager.logger.Warn().Str("id", id).Msg("peer failed")
|
||||
manager.sessions.Destroy(id)
|
||||
case webrtc.PeerConnectionStateClosed:
|
||||
manager.logger.Info().Str("id", id).Msg("peer closed")
|
||||
|
Loading…
Reference in New Issue
Block a user