private Task Client_ClientError(ClientErrorEventArgs e) { Logger.Error($"Exception occured: {e.Exception.GetType()}: {e.Exception.Message}"); return Task.CompletedTask; }
private Task Client_SocketErrored(SocketErrorEventArgs e) { Logger.Error("Gateway connection error", e.Exception); return Task.CompletedTask; }