diff --git a/p4api.net/P4Server.cs b/p4api.net/P4Server.cs index 3c3b7a2..05e965c 100644 --- a/p4api.net/P4Server.cs +++ b/p4api.net/P4Server.cs @@ -737,8 +737,11 @@ public void Reconnect() if (pServer == IntPtr.Zero) { - ConnectionError = ConnectionErrorInt; + if (ConnectionError == null) + { + ConnectionError = new P4ClientError(ErrorSeverity.E_FATAL, string.Format("Unknown error reconnecting to server, {0}", _server)); + } P4Exception.Throw(ConnectionError); return; }