From 658f5a33db682ddd546479e8dc7cb53f5be3ef35 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Sun, 7 May 2023 16:06:43 -0700 Subject: [PATCH] OnServer/ClientError --- QSB/QSBNetworkManager.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/QSB/QSBNetworkManager.cs b/QSB/QSBNetworkManager.cs index 04b4e12d..dfb80e60 100644 --- a/QSB/QSBNetworkManager.cs +++ b/QSB/QSBNetworkManager.cs @@ -424,4 +424,10 @@ public class QSBNetworkManager : NetworkManager, IAddComponentOnStart base.OnStopServer(); } + + public override void OnServerError(NetworkConnectionToClient conn, TransportError error, string reason) => + DebugLog.DebugWrite($"OnServerError({conn}, {error}, {reason})", MessageType.Error); + + public override void OnClientError(TransportError error, string reason) => + DebugLog.DebugWrite($"OnClientError({error}, {reason})", MessageType.Error); }