private void Client_OnError(object sender, TwitchLib.Communication.Events.OnErrorEventArgs e) { log.Add(new ErrorEntry() { Exception = e.Exception, Time = DateTime.Now }); }
private void Client_OnError(object sender, TwitchLib.Communication.Events.OnErrorEventArgs e) { Logger.Instance.LogMessage(TracingLevel.WARN, $"TwitchChat Error: {e.Exception}"); }
private void Client_OnError(object sender, TwitchLib.Communication.Events.OnErrorEventArgs e) { OnChatEvent?.Invoke(new TwitchChatEvent(TwitchChatEventType.LogError, e.Exception.ToString())); }
private void _TwitchClient_OnError(object sender, TwitchLib.Communication.Events.OnErrorEventArgs e) { Console.WriteLine($"Erro ocorrido: {e.Exception.Message} {e.Exception.InnerException}"); Console.WriteLine(Environment.NewLine); }